From 9e93a8b215269e1ba3af6240d17cc48b5a0fb956 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 8 Jun 2021 16:35:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/panel/edit/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/panel/edit/index.vue b/frontend/src/views/panel/edit/index.vue index 291c8afcac..5065e0483d 100644 --- a/frontend/src/views/panel/edit/index.vue +++ b/frontend/src/views/panel/edit/index.vue @@ -224,7 +224,7 @@ export default { width: null, height: null }, - beforeDialogValue: null + beforeDialogValue: [] } }, @@ -442,17 +442,17 @@ export default { } }, openFilterDiolog() { - this.beforeDialogValue = this.curComponent.options.value + this.beforeDialogValue = [] this.filterVisible = true }, cancelFilter() { - this.beforeDialogValue = null + this.beforeDialogValue = [] this.filterVisible = false this.currentWidget = null this.clearCurrentInfo() }, sureFilter() { - this.currentFilterCom.options.value = this.beforeDialogValue + this.currentFilterCom.options.value = [] const component = deepCopy(this.currentFilterCom) // this.$store.commit('addComponent', { component })