fix: update money on order
This commit is contained in:
parent
9be95aa741
commit
1ac1e6fcfc
@ -155,6 +155,7 @@ const submit = () => {
|
|||||||
amount.value = 0;
|
amount.value = 0;
|
||||||
choices.value.forEach((e) => (e.active = 0));
|
choices.value.forEach((e) => (e.active = 0));
|
||||||
isShowConfirmOrder.value = false;
|
isShowConfirmOrder.value = false;
|
||||||
|
userStore.updateUserInfo({ money: res.balance });
|
||||||
} else {
|
} else {
|
||||||
showFailToast(res.message ?? "Lỗi bình chọn");
|
showFailToast(res.message ?? "Lỗi bình chọn");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user