Browse Source

修复 params reqUrl参数获取错误的问题

feat
JinxChen 1 year ago
parent
commit
62a4041e1e
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/views/package-home/index.vue

+ 5
- 5
src/views/package-home/index.vue View File

@@ -1,7 +1,7 @@
<!--
* @Date: 2023-02-24 14:18:25
* @LastEditors: JinxChen
* @LastEditTime: 2023-04-03 11:02:11
* @LastEditTime: 2023-04-03 11:11:03
* @FilePath: \TelpoH5FrontendWeb\src\views\package-home\index.vue
* @description:
-->
@@ -135,10 +135,10 @@ export default {
console.log("params", params);
this.params = {...params};
this.$store.commit("appId", params.appId);
if(params.redUrl) {
const redUrl = encodeURI(params.redUrl);
console.log("redUrl", params.redUrl, redUrl);
window.location.href = redUrl;
if(params.reqUrl) {
const reqUrl = encodeURI(params.reqUrl);
console.log("reqUrl", params.reqUrl, reqUrl);
window.location.href = reqUrl;
} else {
console.log("不存在redUrl");
this.checkBrowser();


Loading…
Cancel
Save