图片
This commit is contained in:
BIN
src/assets/images/devmoni/ylj.jpg
Normal file
BIN
src/assets/images/devmoni/ylj.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 211 KiB |
@@ -375,8 +375,12 @@ export default {
|
|||||||
},
|
},
|
||||||
async initData () {
|
async initData () {
|
||||||
let res = await deviceMonitor()
|
let res = await deviceMonitor()
|
||||||
this.deviceDatas = [...res.result]
|
if (res.code === 200) {
|
||||||
this.addPosition()
|
this.deviceDatas = [...res.result]
|
||||||
|
this.addPosition()
|
||||||
|
} else {
|
||||||
|
this.toast(res.desc)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
async _findDeviceById (id) {
|
async _findDeviceById (id) {
|
||||||
let res = await findDeviceById(id)
|
let res = await findDeviceById(id)
|
||||||
|
|||||||
Reference in New Issue
Block a user