Commit 547eac29 by zhangleyuan

feat:处理用户标

parent c7a2796a
...@@ -54,10 +54,11 @@ function Login(props) { ...@@ -54,10 +54,11 @@ function Login(props) {
User.setUserId(res.result.loginInfo.userId) User.setUserId(res.result.loginInfo.userId)
User.setToken(res.result.loginInfo.xmToken) User.setToken(res.result.loginInfo.xmToken)
User.setEnterpriseId(res.result.enterpriseId) User.setEnterpriseId(res.result.enterpriseId)
User.setIdentifier(_res.result.identifier) console.log('identifier',res.result.enterpriseId)
window.RCHistory.push({ User.setIdentifier(res.result.identifier)
pathname: `/switch-route` // window.RCHistory.push({
}) // pathname: `/switch-route`
// })
}) })
} }
async function checkAccount(code, callback = () => {}) { async function checkAccount(code, callback = () => {}) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment