mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
fixed template for code-method in clickedbtnchoice, saper
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user