แก้ ไม่บังคับไฟล์
This commit is contained in:
parent
e9fc98bcd0
commit
8911c156ae
1 changed files with 0 additions and 4 deletions
|
|
@ -100,11 +100,7 @@ function validateForm() {
|
|||
}
|
||||
}
|
||||
if (hasError.every((result) => result === true)) {
|
||||
if (formData.files.length === 0) {
|
||||
modalWarning($q, "ข้อความแจ้งเตือน", "กรุณาอัปโหลดไฟล์");
|
||||
} else {
|
||||
onSubmit(formData);
|
||||
}
|
||||
} else {
|
||||
console.log("ไม่ผ่าน ");
|
||||
console.log(hasError);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue