mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): 路由声明重构,添加composables,BaseLayout进行中,文件夹规范
This commit is contained in:
@ -1,11 +1,10 @@
|
||||
import type { CustomRoute } from '@/interface';
|
||||
import { EnumRoutePath } from '@/enum';
|
||||
import { ROUTE_NAME_MAP } from '@/utils';
|
||||
import { routeName, routePath } from '../const';
|
||||
import { ROUTE_HOME } from '../routes';
|
||||
|
||||
const ROOT: CustomRoute = {
|
||||
name: ROUTE_NAME_MAP.get('root'),
|
||||
path: EnumRoutePath.root,
|
||||
name: routeName('root'),
|
||||
path: routePath('root'),
|
||||
redirect: { name: ROUTE_HOME.name },
|
||||
meta: {
|
||||
isNotMenu: true
|
||||
|
Reference in New Issue
Block a user