mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
added test v. for method checkoffbtn payments modal
This commit is contained in:
@@ -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,9 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
checkOffBtn() {
|
checkOffBtn() {
|
||||||
return this.offBtn === true || this.agreeUser === false
|
// return this.offBtn === true || this.agreeUser === false
|
||||||
|
// return this.checkBtn()
|
||||||
|
return !(this.offBtn === false && this.agreeUser !== false);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -106,6 +108,14 @@ 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
|
||||||
|
// },
|
||||||
// detectorMethod(method) {
|
// detectorMethod(method) {
|
||||||
// this.closeModal()
|
// this.closeModal()
|
||||||
// if (method === 'dep') {
|
// if (method === 'dep') {
|
||||||
|
|||||||
Reference in New Issue
Block a user