Pārlūkot izejas kodu

微信环境下参数接收1

wangtao 5 dienas atpakaļ
vecāks
revīzija
8df3cfb2e6
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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