Commit 71b2f376 by 前端

Merge branch 'liwk_dev_1.0.0' into 'master'

corpId优先从链接获取

See merge request !9
2 parents 8c5e1d2d e78343f6
......@@ -8,7 +8,8 @@ const WxConfig = {
if (e == 'chooseImage') jsApiList.push('getLocalImgData')
})
let [redirectUrl] = window.location.href.split('#')
const { corpId } = util.getQuery() || util.getLocalStorage('dj_scrm_corpId')
let { corpId } = util.getQuery()
if (!corpId) corpId = util.getLocalStorage('dj_scrm_corpId').corpId
/** 获取企微应用AgentConfig */
let data = {
corpId,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!