保存进度!
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @Author: Kane
|
||||
* @Date: 2022-12-14 15:12:46
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2023-01-04 11:26:12
|
||||
* @LastEditTime: 2023-01-05 21:38:13
|
||||
* @FilePath: \admin_system\src\router\index.js
|
||||
* @Description:
|
||||
*
|
||||
@@ -15,17 +15,58 @@ const routes = [
|
||||
path: "/",
|
||||
name: "Root",
|
||||
redirect: "Home",
|
||||
hidden: true,
|
||||
},
|
||||
{
|
||||
path: "/login",
|
||||
name: "Login",
|
||||
component: () => import("../views/account/Login.vue"),
|
||||
hidden: true,
|
||||
},
|
||||
{
|
||||
path: "/home",
|
||||
name: "Home",
|
||||
meta: {
|
||||
title: "控制台"
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/console",
|
||||
name: "Console",
|
||||
mate: {
|
||||
title: "首页"
|
||||
},
|
||||
component: () => import("../layout/Index.vue"),
|
||||
},
|
||||
],
|
||||
component: () => import("../layout/Index.vue"),
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/news",
|
||||
name: "News",
|
||||
meta: {
|
||||
title: "信息管理",
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/newsIndex",
|
||||
name: "NewsIndex",
|
||||
mate: {
|
||||
title: "信息列表"
|
||||
},
|
||||
component: () => import("../layout/Index.vue"),
|
||||
},
|
||||
],
|
||||
component: () => import("../layout/Index.vue"),
|
||||
},
|
||||
{
|
||||
path: "/user",
|
||||
name: "User",
|
||||
meta: {
|
||||
title: "人员管理",
|
||||
},
|
||||
component: () => import("../layout/Index.vue"),
|
||||
},
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
|
||||
Reference in New Issue
Block a user