This commit is contained in:
2023-04-23 14:06:59 +08:00
parent 918cbd18f2
commit a339ecca56
2 changed files with 6 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 KiB

View File

@@ -375,8 +375,12 @@ export default {
},
async initData () {
let res = await deviceMonitor()
this.deviceDatas = [...res.result]
this.addPosition()
if (res.code === 200) {
this.deviceDatas = [...res.result]
this.addPosition()
} else {
this.toast(res.desc)
}
},
async _findDeviceById (id) {
let res = await findDeviceById(id)