no message
This commit is contained in:
parent
8558cf9b45
commit
345f8f47e9
3 changed files with 3 additions and 8 deletions
|
|
@ -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 {
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue