瀏覽代碼

资源落点bug

qinhouyu 2 年之前
父節點
當前提交
716d1c5dcd
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/forest.vue

+ 2 - 2
src/views/forest.vue

@@ -520,7 +520,6 @@
         this.getExposureStage(this.getCurrentDataStr())
         this.getExposureStage(this.getCurrentDataStr())
         this.getSupermap(this.getCurrentDataStr())
         this.getSupermap(this.getCurrentDataStr())
         this.getMenuEventType()
         this.getMenuEventType()
-        this.getResource()
       }, 2000)
       }, 2000)
 
 
       /** ----------------------------------weosocket开始------------------------------------- */
       /** ----------------------------------weosocket开始------------------------------------- */
@@ -1357,7 +1356,8 @@
             }, 2000)
             }, 2000)
           } else {
           } else {
             setTimeout(() => {
             setTimeout(() => {
-              that.$refs.supermap.clearM()
+              that.$refs.supermap.clearM();
+              that.getResource()
             }, 2000)
             }, 2000)
           }
           }
         })
         })