wang_xy 2 سال پیش
والد
کامیت
5ba3105aa3
1فایلهای تغییر یافته به همراه3 افزوده شده و 16 حذف شده
  1. 3 16
      src/views/monitor.vue

+ 3 - 16
src/views/monitor.vue

@@ -569,28 +569,15 @@ export default {
               '                </span>' +
               '</div>'
             this.cameraMarkersList.push(markersMap)
-            //   cameraAccount: "1"
-            // cameraCode: "1000010"
-            // cameraFactory: "2"
-            // cameraIp: "1"
-            // cameraName: "2"
-            // cameraPasword: "2"
-            // cameraPort: 2
-            // cameraRadius: 20
-            // cameraRegion: "3"
-            // dataDeptId: null
-            // dataStatus: null
-            // eventType: null
-            // height: "11"
-            // id: "0d165fc362514f79b12a899ea66295fd"
-            // latitude: "49.325625"
-            // longitude: "125.3333"
           }
           setTimeout(() => {
             that.$refs.supermap.clearM(true)
             that.$refs.supermap.clearM(false)
             that.$refs.supermap.setMarkersRadius(this.cameraMarkersList)
           }, 1000)
+        }else{
+          that.$refs.supermap.clearM(true)
+          that.$refs.supermap.clearM(false)
         }
       })
     },