添加静态菜单及对应空白页面;
This commit is contained in:
31
src/router/modules/airtools.ts
Normal file
31
src/router/modules/airtools.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
const Layout = () => import("@/layout/index.vue");
|
||||
|
||||
export default {
|
||||
path: "/airtools",
|
||||
name: "airtools",
|
||||
component: Layout,
|
||||
redirect: "/airtools",
|
||||
meta: {
|
||||
icon: "ep:apple",
|
||||
title: "工具管理",
|
||||
rank: 7
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/airtools",
|
||||
name: "airtools-mana",
|
||||
component: () => import("@/views/airtools/index.vue"),
|
||||
meta: {
|
||||
title: "航材管理"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/airtools/orders",
|
||||
name: "airtools-orders",
|
||||
component: () => import("@/views/airtools/orders/index.vue"),
|
||||
meta: {
|
||||
title: "借归还记录"
|
||||
}
|
||||
}
|
||||
]
|
||||
} satisfies RouteConfigsTable;
|
||||
Reference in New Issue
Block a user