大屏 数据源管理
This commit is contained in:
@@ -300,9 +300,10 @@
|
|||||||
this.form = {
|
this.form = {
|
||||||
...res.data
|
...res.data
|
||||||
}
|
}
|
||||||
|
|
||||||
this.form.dataRange = this.form.dataRange === '0' ? '0' : '1'
|
this.form.dataRange = this.form.dataRange === '0' ? '0' : '1'
|
||||||
this.form.count = res.data.dataRange
|
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 = []
|
let value = []
|
||||||
res.data.configs.forEach(v => {
|
res.data.configs.forEach(v => {
|
||||||
if (v.fieldName === item.fieldName) {
|
if (v.fieldName === item.fieldName) {
|
||||||
@@ -315,7 +316,6 @@
|
|||||||
value
|
value
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
this.isShow = true
|
this.isShow = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user