소스 검색

更新微信参数

wangtao 5 일 전
부모
커밋
7621bc1dab
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/plugins/common.plugins.js

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

@@ -324,7 +324,7 @@ export default {
     let form = "https://manager.usky.cn/mobile/#/"
     let path = "https://oa.usky.cn/mobile/#/login?token"
     if(name){
-      alert(name)
+      alert(name,type,to)
       var params = { 
           user:name,
           time:new Date().getTime(),
@@ -340,13 +340,13 @@ export default {
         }
       //#endif
       //#ifdef APP-PLUS || MP-WEIXIN 
+      alert(type,"type")
         if(type == "1"){
           uni.navigateTo({
             url: `/pages/common/webview/index?url=${item.path}=${encodeURIComponent(jm)}?form=${form}`,
           });
         }
         if(type == "2"){
-          alert(2)
           uni.navigateTo({
             url: `/pages/common/webview/index?url=${path}=${encodeURIComponent(jm)}?form=${form}?toPage=${to}`,
           });