update 设备当前状态
This commit is contained in:
parent
eb525fce24
commit
be18358b9c
@ -185,7 +185,10 @@ export default {
|
|||||||
|
|
||||||
list({ ...this.listQuery, pdlId, name }).then(response => {
|
list({ ...this.listQuery, pdlId, name }).then(response => {
|
||||||
if (response.data.records) {
|
if (response.data.records) {
|
||||||
this.dataList = response.data.records
|
// this.dataList = response.data.records
|
||||||
|
// 11-mes 修改模拟数据
|
||||||
|
this.dataList = response.data.records.map(item => ({...item, error: '无故障'}))
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.dataList.splice(0)
|
this.dataList.splice(0)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user