From 2e656ae93943ea608dd20ca445cae64e4fc8007b Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期三, 10 三月 2021 10:17:46 +0800 Subject: [PATCH] 应用中心样式修改 --- src/pages/shuohuangMonitorAnalyze/components/charts/line.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/charts/line.vue b/src/pages/shuohuangMonitorAnalyze/components/charts/line.vue index ba22ac6..4e491b5 100644 --- a/src/pages/shuohuangMonitorAnalyze/components/charts/line.vue +++ b/src/pages/shuohuangMonitorAnalyze/components/charts/line.vue @@ -16,7 +16,7 @@ initLineChart () { this.$nextTick(() => { let dom = this.$echarts.init(this.$refs['lineChart']); - dom.setOption(this.options); + dom && dom.setOption(this.options); }) } } -- Gitblit v1.8.0