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