mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
added checking amount
This commit is contained in:
@@ -64,22 +64,24 @@ export default {
|
|||||||
watch: {
|
watch: {
|
||||||
amount(newAmount) {
|
amount(newAmount) {
|
||||||
console.log(newAmount)
|
console.log(newAmount)
|
||||||
this.offBtn = true
|
if (!this.amount < 0 && this.amount !== '' ) {
|
||||||
console.log('OFFBTN', this.offBtn)
|
this.offBtn = true
|
||||||
setTimeout(() => {
|
console.log('OFFBTN', this.offBtn)
|
||||||
try {
|
setTimeout(() => {
|
||||||
GettingMoneyOperation(newAmount)
|
try {
|
||||||
.then((response) => {
|
GettingMoneyOperation(newAmount)
|
||||||
console.log('Payments Modal Working!: ', response)
|
.then((response) => {
|
||||||
this.url = response.url
|
console.log('Payments Modal Working!: ', response)
|
||||||
this.offBtn = false
|
this.url = response.url
|
||||||
console.log('ONBTN', this.offBtn)
|
this.offBtn = false
|
||||||
})
|
console.log('ONBTN', this.offBtn)
|
||||||
}
|
})
|
||||||
catch (e) {
|
}
|
||||||
console.error('Error in PaymentModal!', e)
|
catch (e) {
|
||||||
}
|
console.error('Error in PaymentModal!', e)
|
||||||
}, 2000)
|
}
|
||||||
|
}, 2000)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user