From 1ac1e6fcfcb2d29db3b637ea2638e966d091a05f Mon Sep 17 00:00:00 2001 From: hiyu Date: Mon, 1 Jul 2024 16:21:57 +0700 Subject: [PATCH] fix: update money on order --- src/components/lottery/LotteryGame.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/lottery/LotteryGame.vue b/src/components/lottery/LotteryGame.vue index 936562f..6e89068 100644 --- a/src/components/lottery/LotteryGame.vue +++ b/src/components/lottery/LotteryGame.vue @@ -155,6 +155,7 @@ const submit = () => { amount.value = 0; choices.value.forEach((e) => (e.active = 0)); isShowConfirmOrder.value = false; + userStore.updateUserInfo({ money: res.balance }); } else { showFailToast(res.message ?? "Lỗi bình chọn"); }