diff --git a/src/components/PaySuperAuthForm.vue b/src/components/PaySuperAuthForm.vue index 2363a07..8f9abc4 100644 --- a/src/components/PaySuperAuthForm.vue +++ b/src/components/PaySuperAuthForm.vue @@ -46,7 +46,7 @@ export default { remember: true, }); if (url) { - this.$router.push(url); + window.location.replace(url); } this.$emit('loadingEnd'); }, diff --git a/src/components/PaySuperAutoLoginForm.vue b/src/components/PaySuperAutoLoginForm.vue index 8cc7cb7..149a798 100644 --- a/src/components/PaySuperAutoLoginForm.vue +++ b/src/components/PaySuperAutoLoginForm.vue @@ -30,7 +30,7 @@ export default { this.$emit('loadingStart'); const url = await this.autoLogin({ previousLogin: this.previousLogin }); if (url) { - this.$router.push(url); + window.location.replace(url); } this.$emit('loadingEnd'); }, diff --git a/src/components/PaySuperRegisterForm.vue b/src/components/PaySuperRegisterForm.vue index 5a4355a..5fa5f9d 100644 --- a/src/components/PaySuperRegisterForm.vue +++ b/src/components/PaySuperRegisterForm.vue @@ -60,7 +60,7 @@ export default { remember: true, }); if (url) { - this.$router.push(url); + window.location.replace(url); } this.$emit('loadingEnd'); },