Explorar el Código

微信环境下参数接收1

wangtao hace 3 semanas
padre
commit
963ecf680a
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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