Browse Source

新上报websocket不显示

qinhouyu 2 years ago
parent
commit
70b6a30b0a
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/forest.vue

+ 4 - 4
src/views/forest.vue

@@ -1087,10 +1087,10 @@ export default {
         keepBindPopup: false,
         isAggregation: false
       }
-      // if (event.eventStatusValue == 'forest_event_status_1' && event.urgeCount == 0) {
-      //   markersMap.click = 'showEventDialog'
-      //   markersMap.icon = 'sj-icon-map-xinshangbao'
-      // }
+      if (event.eventStatusValue == 'forest_event_status_1' && event.urgeCount == 0) {
+        markersMap.click = 'showEventDialog'
+        markersMap.icon = 'sj-icon-map-xinshangbao'
+      }
       if (event.eventStatusValue == 'forest_event_status_1' && event.urgeCount > 0) {
         markersMap.click = 'showEventDialog'
         markersMap.icon = 'sj-icon-map-cuiban'