瀏覽代碼

农业摄像头唯一编码循环获取方式改变

wang_xy 2 年之前
父節點
當前提交
808b49d733
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/components/eventLocation.vue

+ 2 - 2
src/components/eventLocation.vue

@@ -428,7 +428,7 @@
 									icon: 'camera',
 									bindPopupHtml: '',
 									click: 'preview',
-									parameter: '',
+                  parameter: res.data[i].cameraCode,//摄像头编码
 									keepBindPopup: false,
 									isAggregation: false
 								}
@@ -436,7 +436,7 @@
 									markersMap.isAggregation = true
 								}
 								if (res.data[i].channelCode != null) {
-									markersMap.parameter = res.data[i].channelCode.split(',')
+									markersMap.parameter = res.data[i].channelCode.split(',')//通道编号
 								} else {
 									markersMap.parameter = []
 								}