diff --git a/nezha-fronted/src/components/page/dashboard/panel.vue b/nezha-fronted/src/components/page/dashboard/panel.vue index ddbc5a0a1..704c8d603 100644 --- a/nezha-fronted/src/components/page/dashboard/panel.vue +++ b/nezha-fronted/src/components/page/dashboard/panel.vue @@ -226,7 +226,8 @@ //this.$refs.searchInput.select(); this.showPanel = val this.filter.panelId = this.showPanel.id; - let curTime = this.$refs.calendarPanel.getCurrentTime(); + // let curTime = this.$refs.calendarPanel.getCurrentTime(); + let curTime=this.searchTime; this.filter.start_time = bus.timeFormate(curTime[0], 'yyyy-MM-dd hh:mm:ss'); this.filter.end_time = bus.timeFormate(curTime[1], 'yyyy-MM-dd hh:mm:ss'); //this.$refs.chartList.initCurrentRecordNum();