mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
fixed clicked-btn on max
This commit is contained in:
@@ -159,7 +159,7 @@ export default {
|
||||
clickedBtnCrystal : '',
|
||||
amountCrystals: 0,
|
||||
amountSaveCrystals: 0,
|
||||
balance: 1000,
|
||||
balance: 0,
|
||||
ErrorClick: '',
|
||||
amountDeposit: 0,
|
||||
amountSaveDeposit: 0,
|
||||
@@ -285,7 +285,7 @@ export default {
|
||||
clickedBtnChoice(index, content) {
|
||||
this.clickedBtn = index
|
||||
if (content === 'max') {
|
||||
this.amountDeposit = this.balance
|
||||
this.amountDeposit = GetCurrentMoney(GetCookie('AUTHTOKEN'), GetCookie('SearchToken'))
|
||||
}
|
||||
else {
|
||||
this.amountDeposit = content
|
||||
|
||||
Reference in New Issue
Block a user