This commit is contained in:
龚祖望 2022-11-17 17:51:55 +08:00
parent 768eb1bc96
commit 05b3dd6046
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ export default {
console.log('socket已打开')
}
socket.onmessage = (msg) => {
if (msg.data && msg.data.includes('jxsd-连接已建立-')) {
if (msg.data && !msg.data.includes('jxsd-连接已建立-')) {
this.data = JSON.parse(msg.data)
const itemList = this.data.readItemList.map((item, index) => {
if (index < 66) {