Browse Source

用户详情

xiuli.gao 2 years ago
parent
commit
56ed8b6898

File diff suppressed because it is too large
+ 1 - 1
qwh5/dist/css/userPortrait.1bd64223.css


File diff suppressed because it is too large
+ 1 - 1
qwh5/dist/index.html


File diff suppressed because it is too large
+ 1 - 1
qwh5/dist/js/app.050b363f.js


File diff suppressed because it is too large
+ 1 - 1
qwh5/dist/js/userPortrait.b3e22d9b.js


+ 2 - 1
qwh5/src/views/userPortrait.vue

@@ -156,7 +156,8 @@ export default {
156 156
         });
157 157
       }else{//获取用户信息
158 158
         getWxConfig((authInfo)=>{
159
-          let url = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${authInfo.corpid}&redirect_uri=${window.location.href+'&againJump=true'}&response_type=code&scope=snsapi_base&state=1&agentid=${authInfo.agent_id}#wechat_redirect`;
159
+          let redirect_uri = encodeURI(window.location.href+'&againJump=true')
160
+          let url = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${authInfo.corpid}&redirect_uri=${redirect_uri}&response_type=code&scope=snsapi_base&state=1&agentid=${authInfo.agent_id}#wechat_redirect`;
160 161
           let link = document.createElement("a");
161 162
           link.href = url;
162 163
           document.body.appendChild(link);