Jelajahi Sumber

资源落点bug

qinhouyu 2 tahun lalu
induk
melakukan
716d1c5dcd
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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)
           }
         })