แก้ไข กรณี แก้ไข + ยกเลิก

This commit is contained in:
setthawutttty 2023-09-26 16:08:56 +07:00
parent 016f256d38
commit 4959e0847e
6 changed files with 54 additions and 27 deletions

View file

@ -272,7 +272,7 @@ const cancel = async () => {
edit.value = !edit.value;
if (myForm.value !== null) {
await getData();
myForm.value.reset();
myForm.value?.resetValidation()
}
};