From 78c9c2a40cf79faaf7448c48b3790e261cb9caa8 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Mon, 28 Mar 2022 18:01:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=20=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=BA=90=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/bigscreen/designer/components/SourceData.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } })