diff --git a/luckydiamond/src/pages/games-pages/SapergamePage.vue b/luckydiamond/src/pages/games-pages/SapergamePage.vue index 5e6e3ee..5bdf6f6 100644 --- a/luckydiamond/src/pages/games-pages/SapergamePage.vue +++ b/luckydiamond/src/pages/games-pages/SapergamePage.vue @@ -285,7 +285,12 @@ export default { clickedBtnChoice(index, content) { this.clickedBtn = index if (content === 'max') { - this.amountDeposit = GetCurrentMoney(GetCookie('AUTHTOKEN'), GetCookie('SearchToken')) + setTimeout( async () => { + await GetCurrentMoney(GetCookie('AUTHTOKEN'), GetCookie('SearchToken')) + .then((response) => { + this.amountDeposit = response + }) + }, 1000) } else { this.amountDeposit = content