fix(projects): 修复没有子页面的路由写法问题

This commit is contained in:
Soybean
2021-10-20 18:45:02 +08:00
parent 358d4e8a19
commit b80c224664
10 changed files with 154 additions and 71 deletions

View File

@ -15,6 +15,8 @@ interface RouteMeta {
isNotMenu?: boolean;
/** 菜单和面包屑对应的图标 */
icon?: Component;
/** 路由作为菜单时的排序 */
order?: number;
}
export type CustomRoute = RouteRecordRaw & { meta: RouteMeta };