diff --git a/packages/bigscreen/designer/components/SourceData.vue b/packages/bigscreen/designer/components/SourceData.vue index 75c5b479..71add0c9 100644 --- a/packages/bigscreen/designer/components/SourceData.vue +++ b/packages/bigscreen/designer/components/SourceData.vue @@ -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 } })