fix bug
This commit is contained in:
parent
51707646e7
commit
df481043b1
9 changed files with 138 additions and 91 deletions
|
|
@ -128,10 +128,10 @@ function onClickMovePos() {
|
|||
showLoader();
|
||||
await http
|
||||
.post(config.API.orgPosMove, body)
|
||||
.then(() => {
|
||||
props.fetchDataTree?.(store.draftId);
|
||||
.then(async () => {
|
||||
await props.fetchDataTree?.(store.draftId);
|
||||
await success($q, "ย้ายตำแหน่งสำเร็จ");
|
||||
modal.value = false;
|
||||
success($q, "ย้ายตำแหน่งสำเร็จ");
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue