init 3
This commit is contained in:
31
src/router/modules/auth.ts
Normal file
31
src/router/modules/auth.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
const Layout = () => import("@/layout/index.vue");
|
||||
|
||||
export default {
|
||||
path: "/auth",
|
||||
name: "res-auth",
|
||||
component: Layout,
|
||||
redirect: "/auth/company",
|
||||
meta: {
|
||||
icon: "ep:apple",
|
||||
title: "auth管理",
|
||||
rank: 1
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/auth/company",
|
||||
name: "company",
|
||||
component: () => import("@/views/auth/company/index.vue"),
|
||||
meta: {
|
||||
title: "公司管理"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/auth/frontendUser",
|
||||
name: "frontendUser",
|
||||
component: () => import("@/views/auth/frontendUser/index.vue"),
|
||||
meta: {
|
||||
title: "用户管理"
|
||||
}
|
||||
}
|
||||
]
|
||||
} satisfies RouteConfigsTable;
|
||||
Reference in New Issue
Block a user