แก้เครื่องราชฯ บันทึกลำดับเสร็จไม่ให้ fetch ข้อมูลใหม่
This commit is contained in:
parent
7e46a7e984
commit
533ed31bc8
1 changed files with 4 additions and 2 deletions
|
|
@ -70,13 +70,15 @@ async function save() {
|
|||
showLoader();
|
||||
await http
|
||||
.put(config.API.insigniaSort(id.value), { id: dataPost })
|
||||
.then(() => {
|
||||
store.row = rows.value;
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
})
|
||||
.finally(() => {
|
||||
hideLoader();
|
||||
store.row = rows.value;
|
||||
props.fetchData(id.value);
|
||||
// props.fetchData(id.value);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue