浏览代码

pc 分享

小彬 2 年之前
父节点
当前提交
6cce7b343a
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      pages/pcWebViev/pcWebViev.vue

+ 2 - 1
pages/pcWebViev/pcWebViev.vue

@@ -66,7 +66,8 @@ export default {
         "IndustryReport",
       ];
       if (JSON.stringify(optios) !== "{}" && optios.path) {
-        let pathUrl = optios.path.split("/")[2];
+        let new_url = optios.path.split("/")[2];
+        let pathUrl = decodeURIComponent(new_url);
         this.urlPath = urlType.includes(pathUrl) ? "/" + pathUrl : pathUrl == "reportPage" ? "/reportDetail" : "/index";
         this.queryList = optios.query || "";
       }