大屏 数据源管理
This commit is contained in:
		| @@ -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 | ||||
|           } | ||||
|         }) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user