@ -600,7 +600,6 @@ export default {
// 当服务器发送消息时触发
socket.onmessage = function (event) {
console.log('收到消息:', event.data);
if (event.data.AlarmInfo) {
this.AlarmInfo = event.data.AlarmInfo
}
@ -70,6 +70,10 @@ export default {
setTimeout(function () {
getChannelInfo();
getDevicePort();
setTimeout(()=>{
clickStartRealPlay()
},2000)
}, 10);
},
error: function (status, xmlDoc) {
@ -112,7 +116,6 @@ export default {
name = "Camera " + (i < 9 ? "0" + (i + 1) : (i + 1));
});