From e54cb235ff00296243e04b7b2278493483ebcdb8 Mon Sep 17 00:00:00 2001 From: "DESKTOP-UHC5L7D\\Jaxc" Date: Wed, 13 Sep 2023 12:12:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/cashier/index.vue | 6 +++--- src/views/cashier/result.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/cashier/index.vue b/src/views/cashier/index.vue index e5c232f..b1fc3bd 100644 --- a/src/views/cashier/index.vue +++ b/src/views/cashier/index.vue @@ -71,8 +71,8 @@ this.unionId = unionId; this.type = type; this.trainingOrderId = trainingOrderId; - this.fromAppurl = decodeURIComponent(fromAppurl); - this.fromAppurl1 = decodeURIComponent(fromAppurl); + this.fromAppurl =fromAppurl; + this.fromAppurl1 =fromAppurl; this.token = token; this.rechargeAmount = rechargeAmount; this.ready(); @@ -214,7 +214,7 @@ }, goToApp() { - window.location.href =this.fromAppurl1; + window.location.href =decodeURIComponent(this.fromAppurl1); }, }, diff --git a/src/views/cashier/result.vue b/src/views/cashier/result.vue index 7449772..f14d411 100644 --- a/src/views/cashier/result.vue +++ b/src/views/cashier/result.vue @@ -39,7 +39,7 @@ export default { methods: { goToApp() { - window.location.href =this.fromAppurl; + window.location.href=decodeURIComponent(this.fromAppurl); }, }, created() {