Browse Source

1. 解决了瓦斯预警监测曲线图切换tab后没有重新刷新数据的bug

hongrunxia 2 months ago
parent
commit
679862c3e4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/vent/monitorManager/alarmMonitor/warn/gasWarn.vue

+ 1 - 0
src/views/vent/monitorManager/alarmMonitor/warn/gasWarn.vue

@@ -239,6 +239,7 @@
   //菜单选项切换
   function cardClick(ind, item) {
     activeIndex1.value = ind;
+    chartListWs.length = 0;
     clearTimeout(timer);
     getMonitor(item.deviceID, true);
   }