mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
added event for close modal
This commit is contained in:
@@ -196,19 +196,17 @@ export default {
|
||||
window.location.href = this.url
|
||||
},
|
||||
RedirectedMethodTransferMoneyToSp() {
|
||||
if(this.captchaToken !== '' && this.amountSave > 0) {
|
||||
setTimeout(() => {
|
||||
try {
|
||||
WithdrawMoneyOperation(this.amountSave, this.card.toString(), this.captchaToken).then((response) => {
|
||||
console.log(`work withdraw - ${response}`)
|
||||
this.offBtn = false
|
||||
})
|
||||
}
|
||||
catch (e) {
|
||||
console.error(`Error in wihdrawmoney operation - ${e}`)
|
||||
}
|
||||
}, 4000)
|
||||
}
|
||||
setTimeout(() => {
|
||||
try {
|
||||
WithdrawMoneyOperation(this.amountSave, this.card.toString(), this.captchaToken).then((response) => {
|
||||
console.log(`work withdraw - ${response}`)
|
||||
})
|
||||
}
|
||||
catch (e) {
|
||||
console.error(`Error in wihdrawmoney operation - ${e}`)
|
||||
}
|
||||
}, 4000)
|
||||
return this.$emit('closemodal')
|
||||
},
|
||||
checkBtn() {
|
||||
if (this.offBtn === false) {
|
||||
|
||||
Reference in New Issue
Block a user