ปรับวินัย
This commit is contained in:
parent
58c2bfc467
commit
015d2d9857
9 changed files with 35 additions and 50 deletions
|
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue