diff --git a/luckydiamond/src/components/PaymentsModal.vue b/luckydiamond/src/components/PaymentsModal.vue
index 1144703..5fbda8a 100644
--- a/luckydiamond/src/components/PaymentsModal.vue
+++ b/luckydiamond/src/components/PaymentsModal.vue
@@ -21,7 +21,7 @@
-
+
Я согласен с пользовательским соглашением.
@@ -69,7 +69,7 @@ export default {
card: 0,
clickedBtn: '',
url: '',
- offBtn: true,
+ offBtn: false,
agreeUser: false,
PaymentsModalNumbers
}
@@ -83,7 +83,7 @@ export default {
GettingMoneyOperation(newAmount)
.then((response) => {
console.log('Payments Modal Working!: ', response)
- this.url = response.url
+ // this.url = response.url
this.offBtn = false
})
}
@@ -94,14 +94,15 @@ export default {
}
}
},
+ computed: {
+ checkOffBtn() {
+ return this.offBtn === true || this.agreeUser === false
+ },
+ },
methods: {
closeModal() {
return this.$emit('closemodal')
},
- checkOffBtn() {
- console.log(this.offBtn !== false && this.agreeUser !== false)
- return this.offBtn === false && this.agreeUser !== false
- },
RedirectedMethodDep() {
window.location.href = this.url
},