修改看板

IOT
夜笙歌 2 months ago
parent a433e622de
commit bc8f36e367

@ -600,7 +600,6 @@ export default {
// //
socket.onmessage = function (event) { socket.onmessage = function (event) {
console.log('收到消息:', event.data);
if (event.data.AlarmInfo) { if (event.data.AlarmInfo) {
this.AlarmInfo = event.data.AlarmInfo this.AlarmInfo = event.data.AlarmInfo
} }

@ -70,6 +70,10 @@ export default {
setTimeout(function () { setTimeout(function () {
getChannelInfo(); getChannelInfo();
getDevicePort(); getDevicePort();
setTimeout(()=>{
clickStartRealPlay()
},2000)
}, 10); }, 10);
}, },
error: function (status, xmlDoc) { error: function (status, xmlDoc) {
@ -112,7 +116,6 @@ export default {
name = "Camera " + (i < 9 ? "0" + (i + 1) : (i + 1)); name = "Camera " + (i < 9 ? "0" + (i + 1) : (i + 1));
} }
}); });
clickStartRealPlay()
}, },
error: function (status, xmlDoc) { error: function (status, xmlDoc) {
} }

Loading…
Cancel
Save