浏览代码

微信环境下参数接收1

wangtao 3 周之前
父节点
当前提交
963ecf680a
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/plugins/common.plugins.js

+ 3 - 1
src/plugins/common.plugins.js

@@ -335,7 +335,9 @@ export default {
           window.open(`${item.path}=${encodeURIComponent(jm)}?form=${form}`,"_blank")
         }
         if(type == "2"){
-          window.open(`${path}=${encodeURIComponent(jm)}?form=${form}&toPage=${to}`)
+          alert("跳转页面")
+          // window.open(`${path}=${encodeURIComponent(jm)}?form=${form}&toPage=${to}`,"_blank")
+          window.open(path,"_blank")
         }
       //#endif
       //#ifdef APP-PLUS || MP-WEIXIN