Browse Source

资源落点bug

qinhouyu 2 năm trước cách đây
mục cha
commit
716d1c5dcd
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/forest.vue

+ 2 - 2
src/views/forest.vue

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