forked from floraachy/xiuos_IoT
fix bugs
This commit is contained in:
parent
768eb1bc96
commit
05b3dd6046
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue