From 8716615fbb3548c8bcd6d0fc82a888a66707862a Mon Sep 17 00:00:00 2001 From: wangwenrui Date: Tue, 9 Jun 2020 14:18:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E5=88=87=E6=8D=A2panel?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/page/dashboard/panel.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();