Browse Source

fix: 详情页面刷新错误问题

master
parent
commit
95c4ccf7ff
  1. 11
      src/components/negative/dialog.vue

11
src/components/negative/dialog.vue

@ -521,10 +521,19 @@ watch(
formData.value = {}; formData.value = {};
currentComplaintStage.value = STAGE_COMPLETION; currentComplaintStage.value = STAGE_COMPLETION;
} }
} }
); );
//
watch(visible, (newVal) => {
if (newVal) {
getDetails();
verifyEditFlag.value = false;
formData.value = {};
currentComplaintStage.value = STAGE_COMPLETION;
}
});
const confirmationCompletionFlag = ref(false); const confirmationCompletionFlag = ref(false);
function getDetails() { function getDetails() {
loading.value = true; loading.value = true;

Loading…
Cancel
Save