From e3b72b2c6373b7890fbacf3009d4a84d12916381 Mon Sep 17 00:00:00 2001 From: yaojn Date: Mon, 15 Jan 2024 15:42:27 +0800 Subject: [PATCH 1/2] =?UTF-8?q?-=20[=E4=BF=AE=E5=A4=8D]=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E4=B8=AD=E5=BF=83-=E9=AB=98=E7=BA=A7=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E9=85=8D=E7=BD=AE=E5=BC=82=E5=B8=B8=20=20=20?= =?UTF-8?q?-=20[=E5=85=B3=E8=81=94]#[1069416727412736]=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E4=B8=AD=E5=BF=83-=E9=AB=98=E7=BA=A7=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E9=85=8D=E7=BD=AE=E5=BC=82=E5=B8=B8=20http:/?= =?UTF-8?q?/192.168.0.96:8090/demo/rdm.html#/bug-detail/939050947543040/93?= =?UTF-8?q?9050947543057/1069416727412736?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/resources/components/ProcessTaskSearcher/custom-panel.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/resources/components/ProcessTaskSearcher/custom-panel.vue b/src/resources/components/ProcessTaskSearcher/custom-panel.vue index 8f31ed5d..70cbf771 100644 --- a/src/resources/components/ProcessTaskSearcher/custom-panel.vue +++ b/src/resources/components/ProcessTaskSearcher/custom-panel.vue @@ -242,6 +242,7 @@ export default { } } this.$set(condition, type, val); + this.$forceUpdate(); // 强制更新视图,切换表达式是为空或者不为空,数据没有更新,导致后面的文本框没有隐藏 }, changeJoinType(obj, val) { this.$set(obj, 'joinType', val); -- Gitee From 297bc1b5aed3de1b98267eb0e42c80f6a4524251 Mon Sep 17 00:00:00 2001 From: yaojn Date: Mon, 15 Jan 2024 15:45:05 +0800 Subject: [PATCH 2/2] =?UTF-8?q?-=20[=E4=BF=AE=E5=A4=8D]=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/resources/components/ProcessTaskSearcher/custom-panel.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/components/ProcessTaskSearcher/custom-panel.vue b/src/resources/components/ProcessTaskSearcher/custom-panel.vue index 70cbf771..9d9a8ebf 100644 --- a/src/resources/components/ProcessTaskSearcher/custom-panel.vue +++ b/src/resources/components/ProcessTaskSearcher/custom-panel.vue @@ -242,7 +242,7 @@ export default { } } this.$set(condition, type, val); - this.$forceUpdate(); // 强制更新视图,切换表达式是为空或者不为空,数据没有更新,导致后面的文本框没有隐藏 + this.$forceUpdate(); // 强制更新视图,切换表达式:为空或者不为空,表达式值没有更新,导致后面的文本框没有隐藏 }, changeJoinType(obj, val) { this.$set(obj, 'joinType', val); -- Gitee