Selaa lähdekoodia

微信环境下参数接收1

wangtao 3 viikkoa sitten
vanhempi
commit
963ecf680a
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  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