Browse Source

改进跳转

master
parent
commit
e54cb235ff
  1. 6
      src/views/cashier/index.vue
  2. 2
      src/views/cashier/result.vue

6
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);
},
},

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

Loading…
Cancel
Save