彭宇 преди 2 години
родител
ревизия
baba2bfe7d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 = {