qinhouyu 1 yıl önce
ebeveyn
işleme
3fc5078f2b
2 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 2 2
      src/views/eventdetailsdialog.vue
  2. 2 2
      src/views/firespread.vue

+ 2 - 2
src/views/eventdetailsdialog.vue

@@ -3663,9 +3663,9 @@ export default {
         markersMapList.push(markersMap);
         if (res.data.centermonitorTCamera != null) {
           that.centermonitorTCamera = null;
-          that.centermonitorTCamera = res.data.centermonitorTCamera;
           that.cameraCode = res.data.centermonitorTCamera.id;
           if(res.data.centermonitorTCamera.longitude != null && res.data.centermonitorTCamera.latitude != null) {
+            that.centermonitorTCamera = res.data.centermonitorTCamera;
 
             let markersMap = {
               lng: 124.59,
@@ -3790,9 +3790,9 @@ export default {
         markersMapList.push(markersMap);
         if (res.data.centermonitorTCamera != null) {
           that.centermonitorTCamera = null;
-          that.centermonitorTCamera = res.data.centermonitorTCamera;
           that.cameraCode = res.data.centermonitorTCamera.id;
           if(res.data.centermonitorTCamera.longitude != null && res.data.centermonitorTCamera.latitude != null) {
+            that.centermonitorTCamera = res.data.centermonitorTCamera;
 
             let markersMap = {
               lng: 124.59,

+ 2 - 2
src/views/firespread.vue

@@ -3311,9 +3311,9 @@ export default {
         markersMapList.push(markersMap);
         if (res.data.centermonitorTCamera != null) {
           that.centermonitorTCamera = null;
-          that.centermonitorTCamera = res.data.centermonitorTCamera;
           that.cameraCode = res.data.centermonitorTCamera.id;
           if(res.data.centermonitorTCamera.longitude != null && res.data.centermonitorTCamera.latitude != null) {
+            that.centermonitorTCamera = res.data.centermonitorTCamera;
 
           let markersMap = {
             lng: 124.59,
@@ -3422,9 +3422,9 @@ export default {
         markersMapList.push(markersMap)
         if (res.data.centermonitorTCamera != null) {
           that.centermonitorTCamera = null;
-          that.centermonitorTCamera = res.data.centermonitorTCamera;
           that.cameraCode = res.data.centermonitorTCamera.id;
           if(res.data.centermonitorTCamera.longitude != null && res.data.centermonitorTCamera.latitude != null) {
+            that.centermonitorTCamera = res.data.centermonitorTCamera;
 
             let markersMap = {
             lng: 124.59,