|
@@ -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() {
|