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() {