Commit ec38d29d by 李伟康

测试快照

1 parent c5845ff8
......@@ -81,7 +81,7 @@ const actions = {
util.showLoading()
let { appid } = window.$fetchConfig
if (isWxWork && STORAGE_PARAMS && STORAGE_PARAMS.corpId) appid = STORAGE_PARAMS.corpId
let wxUrl = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appid}&redirect_uri=${encodeURIComponent(redirectUrl)}&response_type=code&scope=snsapi_userinfo`
let wxUrl = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appid}&redirect_uri=${encodeURIComponent(redirectUrl)}&response_type=code&scope=snsapi_userinfo&forcePopup=true&forceSnapShot=true`
if (isWxWork && STORAGE_PARAMS && STORAGE_PARAMS.agentId) wxUrl = `${wxUrl}&agentid=${STORAGE_PARAMS.agentId}`
util.setAppId(appid)
window.location.href = `${wxUrl}&state=STATE#wechat_redirect`
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!