From d908467028d36ac0426f20b72f5a15bd3ceaf88e Mon Sep 17 00:00:00 2001 From: junjie Date: Thu, 20 May 2021 16:56:44 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=BB=AA=E8=A1=A8=E7=9B=98):=E4=BB=AA?= =?UTF-8?q?=E8=A1=A8=E7=9B=98=20=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/canvas/custom-component/UserView.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/components/canvas/custom-component/UserView.vue b/frontend/src/components/canvas/custom-component/UserView.vue index 458eff586b..b85303bc15 100644 --- a/frontend/src/components/canvas/custom-component/UserView.vue +++ b/frontend/src/components/canvas/custom-component/UserView.vue @@ -51,6 +51,10 @@ export default { } }, watch: { + '$store.getters.conditions': function(newVal, oldVal) { + this.filter.filter = newVal + this.getData(this.element.propValue.viewId) + }, filter(val) { this.getData(this.element.propValue.viewId) }, @@ -95,6 +99,7 @@ export default { } }, created() { + this.filter.filter = this.$store.getters.conditions this.getData(this.element.propValue.viewId) }, mounted() {