From 1fbbb592d4646f86e8a272b13c16ca54abc08414 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期四, 08 七月 2021 10:30:12 +0800
Subject: [PATCH] 应用中心详情按钮错误

---
 src/pages/shuohuangMonitorAnalyze/components/guideIndex.vue |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/pages/shuohuangMonitorAnalyze/components/guideIndex.vue b/src/pages/shuohuangMonitorAnalyze/components/guideIndex.vue
index 0ad72a0..47156be 100644
--- a/src/pages/shuohuangMonitorAnalyze/components/guideIndex.vue
+++ b/src/pages/shuohuangMonitorAnalyze/components/guideIndex.vue
@@ -1076,7 +1076,16 @@
   methods: {
     refreshShoubiNum(){
       let n = sessionStorage.getItem("shoubiNum")
-      this.optionsOfHidDangerBar.series[0].data[1].value = +n
+      // this.optionsOfHidDangerBar.series[0].data[1].value = +n
+      this.$set(this.optionsOfHidDangerBar.series,0, {
+            name: '鏁伴噺',
+            type: 'bar',
+            barWidth: '60%',
+            label:{
+              show:true,position: 'top'
+            },
+            data: [{value:1,itemStyle:{color:'#3aa0ff'}},{value:+n,itemStyle:{color:'#36cbcb'}},{value:1,itemStyle:{color:'#4dcb73'}},{value:1,itemStyle:{color:'#fad337'}},{value:3,itemStyle:{color:'#f2637b'}}, {value:2,itemStyle:{color:'#975fe4'}}]
+          })
     },
     initTabContent(tab){
       if(tab.name == "hidDanderStatistic"){

--
Gitblit v1.8.0