diff --git a/luckydiamond/src/components/PaymentsModal.vue b/luckydiamond/src/components/PaymentsModal.vue index b612c46..1f41996 100644 --- a/luckydiamond/src/components/PaymentsModal.vue +++ b/luckydiamond/src/components/PaymentsModal.vue @@ -21,7 +21,7 @@
- +
@@ -36,7 +36,7 @@
- +
@@ -81,19 +81,22 @@ export default { closeModal() { return this.$emit('closemodal') }, - detectorMethod(method) { - this.closeModal() - if (method === 'dep') { - return this.$emit('deposit', this.amount) - } - else if (method === 'with') { - return this.$emit('withdraw', this.amount, this.card) - } - else { - console.log('Произошла ошибка при взаимодействие') - return - } + RedirectedMethodDep() { + window.location.href = this.url }, + // detectorMethod(method) { + // this.closeModal() + // if (method === 'dep') { + // return this.$emit('deposit', this.amount) + // } + // else if (method === 'with') { + // return this.$emit('withdraw', this.amount, this.card) + // } + // else { + // console.log('Произошла ошибка при взаимодействие') + // return + // } + // }, clickedBtnChoice(index, content) { this.clickedBtn = index this.amount = content