fixed bug with off btn v.2

This commit is contained in:
Kostya
2023-12-13 21:04:52 +03:00
parent 8e589baa27
commit 0a76103b95

View File

@@ -64,14 +64,14 @@ export default {
watch: { watch: {
amount(newAmount) { amount(newAmount) {
console.log(newAmount) console.log(newAmount)
this.offBtn = !this.offBtn this.offBtn = true
setTimeout(() => { setTimeout(() => {
try { try {
GettingMoneyOperation(newAmount) GettingMoneyOperation(newAmount)
.then((response) => { .then((response) => {
console.log('Payments Modal Working!: ', response) console.log('Payments Modal Working!: ', response)
this.url = response.url this.url = response.url
this.offBtn = !this.offBtn this.offBtn = false
}) })
} }
catch (e) { catch (e) {