fix: 仪表盘 组件树状结构不正确
This commit is contained in:
parent
db71599447
commit
af4e85e10c
@ -401,7 +401,10 @@ export default {
|
||||
},
|
||||
loadTable(sceneId) {
|
||||
loadTable({ sceneId: sceneId, sort: 'type asc,create_time desc,name asc' }).then(res => {
|
||||
this.sceneDatas = res.data
|
||||
res && res.data && (this.sceneDatas = res.data.map(tb => {
|
||||
tb.type = 'db'
|
||||
return tb
|
||||
}))
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user