浏览代码

微信环境下参数接收1

wangtao 5 天之前
父节点
当前提交
8df3cfb2e6
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/plugins/common.plugins.js

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

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