ปรับวินัย

This commit is contained in:
Warunee Tamkoo 2024-01-19 10:51:17 +07:00
parent 58c2bfc467
commit 015d2d9857
9 changed files with 35 additions and 50 deletions

View file

@ -200,13 +200,13 @@ async function onSubmit(data: any) {
http
.put(config.API.complaintbyId(id.value), data)
.then((res) => {
getData();
success($q, "บันทึกข้อมูลสำเร็จ");
})
.catch((e) => {
messageError($q, e);
})
.finally(async () => {
getData();
hideLoader();
});
}