Commit ebd32c0d by wufan

Merge branch 'feature/zhangleyuan/20200220/training-program' into dev

parents ebcddc11 814607da
......@@ -2,7 +2,7 @@
* @Author: wufan
* @Date: 2020-12-26 11:51:14
* @LastEditors: wufan
* @LastEditTime: 2020-12-26 15:04:26
* @LastEditTime: 2021-03-09 15:18:09
* @Description: 登录后跳转承载页面
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
......@@ -39,6 +39,11 @@ function SwitchRoute(props: SwitchProps) {
pathname: `/home`,
});
break;
case "CloudOperator":
window.RCHistory.replace({
pathname: `/home`,
});
break;
}
}, [User.getUserRole()]);
return <div></div>
......
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