소스 검색

微信环境下参数接收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