气象站设备获取修改 #149

Merged
xiaomeng merged 1 commits from pc-master into portal 2024-06-03 08:13:28 +00:00
1 changed files with 7 additions and 6 deletions

View File

@ -317,13 +317,14 @@ export default {
this.leftList[index1].list.push(el) this.leftList[index1].list.push(el)
} }
}) })
} else {
this.leftList.forEach((el1, index1) => {
if (el1.name == '生态气象站') {
this.leftList[index1].list.push(el)
}
})
} }
// else if (el.deviceName == 30) {
// this.leftList.forEach((el1, index1) => {
// if (el1.name == '') {
// this.leftList[index1].list.push(el)
// }
// })
// }
}) })
this.api.geteqetdata(userInfo.userid).then((res) => { this.api.geteqetdata(userInfo.userid).then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {