mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): 单独一级路由相关逻辑重构
This commit is contained in:
@ -47,7 +47,7 @@ export function getViewComponent(routeKey: AuthRoute.RouteKey) {
|
||||
'redirect-not-found': NotFound
|
||||
};
|
||||
|
||||
return () => setViewComponentName(viewComponent[key], key);
|
||||
return () => setViewComponentName(viewComponent[key], key) as Promise<Component>;
|
||||
}
|
||||
|
||||
/** 给页面组件设置名称 */
|
||||
|
Reference in New Issue
Block a user