fixed template for code-method in clickedbtnchoice, saper

This commit is contained in:
Kostya
2024-01-21 01:00:42 +03:00
parent a2e51b5c7f
commit d1be8d4cb9

View File

@@ -285,7 +285,12 @@ export default {
clickedBtnChoice(index, content) { clickedBtnChoice(index, content) {
this.clickedBtn = index this.clickedBtn = index
if (content === 'max') { 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 { else {
this.amountDeposit = content this.amountDeposit = content