From 1a3b3b6cddb50ba687a3aa27c56361e6c3b5ae2e Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 25 Nov 2025 17:40:25 +0700 Subject: [PATCH] fix --- src/modules/01_exam/components/ExamForm.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/modules/01_exam/components/ExamForm.vue b/src/modules/01_exam/components/ExamForm.vue index b207038..7c3c3ea 100644 --- a/src/modules/01_exam/components/ExamForm.vue +++ b/src/modules/01_exam/components/ExamForm.vue @@ -363,10 +363,9 @@ const saveData = async () => { .then(async () => { if (!props.stepPayment) { secondDialog.value = true + } else { + success($q, 'บันทึกข้อมูลส่วนตัวสำเร็จ') } - // else { - // success($q, 'บันทึกข้อมูลส่วนตัวสำเร็จ') - // } await saveForm() await props.fetchStep() dialog.value = false @@ -434,7 +433,7 @@ const saveData = async () => { contacttel: defaultContact.value.contacttel }) .then(async () => { - success($q, 'บันทึกข้อมูลส่วนตัวสำเร็จ') + !secondDialog.value && success($q, 'บันทึกข้อมูลส่วนตัวสำเร็จ') await props.fetchStep() }) .catch((e) => {