แก้เครื่องราชฯ บันทึกลำดับเสร็จไม่ให้ fetch ข้อมูลใหม่

This commit is contained in:
Warunee Tamkoo 2024-01-31 09:12:52 +07:00
parent 7e46a7e984
commit 533ed31bc8

View file

@ -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);
});
}