เช็ค อัปโหลดไฟล์

This commit is contained in:
STW_TTTY\stwtt 2024-08-20 16:53:37 +07:00
parent 46e7fa3088
commit 1da216ccec
6 changed files with 8 additions and 10 deletions

View file

@ -78,8 +78,8 @@ async function uploadFile() {
.put(config.API.disciplineDoc(props.type, props.id), Data)
.then(() => {
file.value = null;
success($q, "บันทึกข้อมูลสำเร็จ");
props.fetchData();
success($q, "บันทึกข้อมูลสำเร็จ");
})
.catch((e) => {
messageError($q, e);