Browse Source

数据中心

彭宇 2 years ago
parent
commit
baba2bfe7d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/eventdetailsdialog.vue

+ 1 - 1
src/views/eventdetailsdialog.vue

@@ -1307,11 +1307,11 @@ export default {
           this.$refs.supermapDialog.clearMByType(type)
         }, 1000)
       } else {
-        this.resourcesListCheck.push(type)
         //搜索物资
         let param = { longitude: this.longitude, latitude: this.latitude, type: type, radius: this.radius }
         listResourceByWz(param).then(res => {
           if (res.data != null && res.data.length > 0) {
+            this.resourcesListCheck.push(type)
             var markersList = []
             for (let i = 0; i < res.data.length; i++) {
               let markersMap = {