Commit 547eac29 by zhangleyuan

feat:处理用户标

parent c7a2796a
......@@ -54,10 +54,11 @@ function Login(props) {
User.setUserId(res.result.loginInfo.userId)
User.setToken(res.result.loginInfo.xmToken)
User.setEnterpriseId(res.result.enterpriseId)
User.setIdentifier(_res.result.identifier)
window.RCHistory.push({
pathname: `/switch-route`
})
console.log('identifier',res.result.enterpriseId)
User.setIdentifier(res.result.identifier)
// window.RCHistory.push({
// pathname: `/switch-route`
// })
})
}
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