Browse Source

微信环境下参数接收1

wangtao 4 days ago
parent
commit
5e6f045309
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/plugins/common.plugins.js

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

@@ -332,6 +332,7 @@ export default {
       }
       var jm = encrypt(JSON.stringify(params))
       //#ifdef H5 
+      alert("h5")
         if(type == "1"){
           window.open(`${item.path}=${encodeURIComponent(jm)}?form=${form}`,"_blank")
         }
@@ -340,7 +341,7 @@ export default {
         }
       //#endif
       //#ifdef APP-PLUS || MP-WEIXIN 
-      alert(type,"type")
+      alert(`微信环境`)
         if(type == "1"){
           uni.navigateTo({
             url: `/pages/common/webview/index?url=${item.path}=${encodeURIComponent(jm)}?form=${form}`,