Commit 814607da by wufan

feat:增加运营师路由跳转

parent 40a9f8ba
......@@ -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: `/redirect-to-resource-disk`,
});
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