소스 검색

修复bug

Hwf 3 주 전
부모
커밋
fd368ca9f3
1개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 7 1
      src/views/globalMap/index.vue

+ 7 - 1
src/views/globalMap/index.vue

@@ -293,7 +293,13 @@ const handleHideCommunicationSupport = () => {
 const findChecked = (dataList, name) => {
   let index = 0;
   dataList.forEach((item) => {
-    if (!['易涝隐患点', '省政务无人机', '铁塔运行监测', '通讯保障', '救援队伍', '重点车辆'].includes(item.name) && item.name !== name && !item.isVideo && item.path === '2' && !!item.checked) {
+    if (
+      !['易涝隐患点', '省政务无人机', '铁塔运行监测', '通讯保障', '救援队伍', '重点车辆', '附近视频'].includes(item.name) &&
+      item.name !== name &&
+      !item.isVideo &&
+      item.path === '2' &&
+      !!item.checked
+    ) {
       index++;
     }
     if (item.children && item.children.length > 0) {