From 449d7610d1b2646059d99bae73daf61777e87fa4 Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Tue, 23 Apr 2024 17:50:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=94=A8=E4=BE=8B=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=85=B3=E8=81=94=E6=8E=A5=E5=8F=A3=E6=88=96?= =?UTF-8?q?=E5=9C=BA=E6=99=AF=E7=94=A8=E4=BE=8B=EF=BC=8C=E5=88=97=E8=A1=A8?= =?UTF-8?q?&=E6=A8=A1=E5=9D=97=E4=B8=8D=E5=88=B7=E6=96=B0=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/business/ms-case-associate/index.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/business/ms-case-associate/index.vue b/frontend/src/components/business/ms-case-associate/index.vue index 99e1b4e609..fd9888a54e 100644 --- a/frontend/src/components/business/ms-case-associate/index.vue +++ b/frontend/src/components/business/ms-case-associate/index.vue @@ -677,7 +677,6 @@ value: string | number | boolean | Record | (string | number | boolean | Record)[] ) { caseType.value = value as keyof typeof CaseLinkEnum; - emit('update:currentSelectCase', caseType.value); initModules(); searchCase(); } @@ -716,6 +715,15 @@ } ); + watch( + () => props.currentSelectCase, + () => { + initModules(); + searchCase(); + initFilter(); + } + ); + defineExpose({ initModules, });