Commit 814607da by wufan

feat:增加运营师路由跳转

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