Commit 247b3fb5 by zhangleyuan

feat:切换学院处理

parent c1629a12
...@@ -81,7 +81,7 @@ export default function WechatLogin(props: any) { ...@@ -81,7 +81,7 @@ export default function WechatLogin(props: any) {
window.currentStoreUserInfo = {} window.currentStoreUserInfo = {}
window.currentStoreUserInfo.userId = _res.result.loginInfo.userId; window.currentStoreUserInfo.userId = _res.result.loginInfo.userId;
window.currentStoreUserInfo.token = _res.result.loginInfo.xmToken; window.currentStoreUserInfo.token = _res.result.loginInfo.xmToken;
window.currentStoreUserInfo.enterpriseId = _res.result.loginInfo.enterpriseId; window.currentStoreUserInfo.enterpriseId = _res.result.enterpriseId;
User.setIdentifier(_res.result.identifier) User.setIdentifier(_res.result.identifier)
window.RCHistory.push({ window.RCHistory.push({
pathname: `/switch-route`, pathname: `/switch-route`,
......
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