From aa0391a43ef3b41e8c88d3f4344133e580c41af0 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期三, 02 六月 2021 15:53:30 +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