forked from mt-fe-group/mt-yd-ui
update 设备状态时序图页面
This commit is contained in:
@@ -249,6 +249,13 @@ export default {
|
||||
}
|
||||
}).then(({ data: res }) => {
|
||||
console.log('oee data:', res)
|
||||
if (res.length) {
|
||||
this.dataList = res
|
||||
this.totalPage = res.length
|
||||
} else {
|
||||
this.dataList.splice(0)
|
||||
this.totalPage = 0
|
||||
}
|
||||
})
|
||||
},
|
||||
// 每页数
|
||||
|
||||
Reference in New Issue
Block a user