From 262119fd58357f1d930d65a6e3252176d29b2ce5 Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期四, 28 一月 2021 18:54:48 +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