Procházet zdrojové kódy

监控中心云广播显示问题

wang_xy před 2 roky
rodič
revize
98cbbea397
1 změnil soubory, kde provedl 2 přidání a 3 odebrání
  1. 2 3
      src/views/monitor.vue

+ 2 - 3
src/views/monitor.vue

@@ -206,13 +206,12 @@
     mounted() {
       // 初始化地图数据
       this.getSuperMapUrl();
-
+      this.deptId = Cookies.get("deptId");
       setTimeout(() => {
         this.selectKeyAreaList();
         this.getTreeselect();
-        this.deptId = Cookies.get("deptId");
-        this.getMonitorDeviceAndDataLists();
       }, 2000)
+      this.getMonitorDeviceAndDataLists();
       this.bottomMenuList(); //获取底部公共组件消息和任务
       // this.getSensorListByDeptId(-1)
       // this.getDlblistBydeptId(-1)