From 95c4ccf7ffa5af880720862ed95c6d674c2e8ecc Mon Sep 17 00:00:00 2001 From: buaixuexideshitongxue <2936013465@qq.com> Date: Thu, 11 Jun 2026 12:36:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/negative/dialog.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/negative/dialog.vue b/src/components/negative/dialog.vue index f60e926..ff3db5f 100644 --- a/src/components/negative/dialog.vue +++ b/src/components/negative/dialog.vue @@ -521,10 +521,19 @@ watch( formData.value = {}; currentComplaintStage.value = STAGE_COMPLETION; } - } ); +// 新增:监听弹窗打开,强制刷新数据 +watch(visible, (newVal) => { + if (newVal) { + getDetails(); + verifyEditFlag.value = false; + formData.value = {}; + currentComplaintStage.value = STAGE_COMPLETION; + } +}); + const confirmationCompletionFlag = ref(false); function getDetails() { loading.value = true;