소스 검색

视屏墙修改-提交

lxh 3 달 전
부모
커밋
d0d647b042
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      src/views/vent/monitorManager/camera/index.vue

+ 4 - 4
src/views/vent/monitorManager/camera/index.vue

@@ -226,6 +226,7 @@ async function getVideoAddrs() {
       }
     }
     addrList.value = cameraList
+    console.log( addrList.value,' addrList.value-------------')
   }
 }
 
@@ -268,11 +269,10 @@ async function getVideoAddrsSon(Id) {
   }
 }
 
-function onChange(page) {
+async function onChange(page) {
   current.value = page;
-  getVideoAddrs().then(() => {
-    getVideo()
-  })
+  await getVideoAddrs()
+  getVideo()
 }
 
 function getVideo() {