大屏 数据源管理

This commit is contained in:
yanran200730
2022-03-28 18:01:03 +08:00
parent 746927e826
commit 78c9c2a40c

View File

@@ -300,9 +300,10 @@
this.form = {
...res.data
}
this.form.dataRange = this.form.dataRange === '0' ? '0' : '1'
this.form.count = res.data.dataRange
this.filedList = this.appList.filter(v => v.id === res.data.appId)[0].fields.map(item => {
this.filedList = this.appList.filter(v => v.id === res.data.appId).length && this.appList.filter(v => v.id === res.data.appId)[0].fields.map(item => {
let value = []
res.data.configs.forEach(v => {
if (v.fieldName === item.fieldName) {
@@ -315,7 +316,6 @@
value
}
})
this.isShow = true
}
})