mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-29 18:30:16 +08:00
refactor(projects): 重构路由类型和路由元数据类型,重构多级菜单路由写法
This commit is contained in:
@@ -19,12 +19,13 @@ const constantRoutes: RouteRecordRaw[] = [
|
||||
redirect: { name: ROUTE_HOME_NAME }
|
||||
},
|
||||
{
|
||||
// 名称、路由随意,不在路由声明里面,只是为各个页面充当传递BlankLayout的桥梁,因此访问该路由时重定向到404
|
||||
// 名称、路径随意,不在路由声明里面,只是为各个子路由充当应用BlankLayout布局的桥梁,因此访问该路由时重定向到404
|
||||
name: 'constant-single_',
|
||||
path: '/constant-single_',
|
||||
component: BlankLayout,
|
||||
redirect: { name: routeName('not-found') },
|
||||
meta: {
|
||||
title: 'constant-single_',
|
||||
keepAlive: true
|
||||
},
|
||||
children: [
|
||||
|
||||
Reference in New Issue
Block a user