no message

This commit is contained in:
setthawutttty 2024-02-07 13:49:01 +07:00
parent 8558cf9b45
commit 345f8f47e9
3 changed files with 3 additions and 8 deletions

View file

@ -46,7 +46,6 @@ const {
messageError,
success,
dialogRemove,
dialogMessageNotify,
} = mixin;
const selected = ref<any>([]);
const search = ref<string>("");
@ -310,11 +309,7 @@ function validateForm() {
}
}
if (hasError.every((result) => result === true)) {
if (rows.value.length !== 0) {
onSubmit();
} else {
dialogMessageNotify($q, "กรุณาเลือกตำแหน่งอย่างน้อย 1 ตำแหน่ง");
}
onSubmit();
} else {
}
}