From 03ab93664d3b46d30cae6e3c1ff4a8a058b9e39c Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Thu, 14 Oct 2021 14:58:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=AA=E8=A1=A8=E6=9D=BF=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E5=8D=A1=E6=9C=AA=E9=80=89=E6=8B=A9=E8=A7=86=E5=9B=BE?= =?UTF-8?q?=E6=97=B6=E6=8B=96=E5=8A=A8=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/canvas/custom-component/UserView.vue | 5 ++++- frontend/src/components/widget/DeWidget/DeTabs.vue | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/canvas/custom-component/UserView.vue b/frontend/src/components/canvas/custom-component/UserView.vue index f05cbdcffa..bb197ccc33 100644 --- a/frontend/src/components/canvas/custom-component/UserView.vue +++ b/frontend/src/components/canvas/custom-component/UserView.vue @@ -211,7 +211,10 @@ export default { created() { this.refId = uuid.v1 // this.filter.filter = this.$store.getters.conditions - this.getData(this.element.propValue.viewId) + if (this.element && this.element.propValue && this.element.propValue.viewId) { + this.getData(this.element.propValue.viewId) + } + // this.initAreas() }, mounted() { diff --git a/frontend/src/components/widget/DeWidget/DeTabs.vue b/frontend/src/components/widget/DeWidget/DeTabs.vue index 18fa38d54a..fbeea71071 100644 --- a/frontend/src/components/widget/DeWidget/DeTabs.vue +++ b/frontend/src/components/widget/DeWidget/DeTabs.vue @@ -35,7 +35,7 @@
- +