From db2b34e40cab6c698894f0e59eddce7d2d66c7bf Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Wed, 20 Oct 2021 13:59:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20asset=20=E4=BA=8C=E7=BA=A7detail?= =?UTF-8?q?=E6=8A=98=E5=8F=A0=E5=B1=95=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/charts/chart-group.vue | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/nezha-fronted/src/components/charts/chart-group.vue b/nezha-fronted/src/components/charts/chart-group.vue index dd45ed8d7..0b87c1f8b 100644 --- a/nezha-fronted/src/components/charts/chart-group.vue +++ b/nezha-fronted/src/components/charts/chart-group.vue @@ -302,19 +302,12 @@ export default { dropdownMenuShow (n) { this.$emit('dropmenu-change', n) } - // chartData: { - // deep: true, - // immediate: true, - // handler (n) { - // setTimeout(() => { - // this.showList = n.param.collapse - // },1500) - // } - // } }, mounted () { this.firstLoad = false - this.showList = !this.chartData.param.collapse + if (this.chartData.param) { + this.showList = !this.chartData.param.collapse + } }, beforeDestroy () { this.clearChart()