merging with DevelopCkutls

This commit is contained in:
Kostya
2023-12-17 14:15:59 +03:00

View File

@@ -69,7 +69,7 @@ export default {
card: 0, card: 0,
clickedBtn: '', clickedBtn: '',
url: '', url: '',
offBtn: false, offBtn: true,
agreeUser: false, agreeUser: false,
PaymentsModalNumbers PaymentsModalNumbers
} }
@@ -96,7 +96,7 @@ export default {
}, },
computed: { computed: {
checkOffBtn() { checkOffBtn() {
return !(this.offBtn === false && this.agreeUser !== false); return this.checkBtn()
}, },
}, },
methods: { methods: {
@@ -106,6 +106,18 @@ export default {
RedirectedMethodDep() { RedirectedMethodDep() {
window.location.href = this.url window.location.href = this.url
}, },
checkBtn() {
if (this.offBtn === false) {
if (this.agreeUser !== false) {
return false
}
}
return true
},
clickedBtnChoice(index, content) {
this.clickedBtn = index
this.amount = content
}
// detectorMethod(method) { // detectorMethod(method) {
// this.closeModal() // this.closeModal()
// if (method === 'dep') { // if (method === 'dep') {
@@ -119,10 +131,6 @@ export default {
// return // return
// } // }
// }, // },
clickedBtnChoice(index, content) {
this.clickedBtn = index
this.amount = content
}
} }
} }
</script> </script>