路由更新
This commit is contained in:
@@ -57,23 +57,23 @@ export const routes: Array<RouteRecordRaw> = [
|
||||
],
|
||||
},
|
||||
// 首页(显示在导航栏)
|
||||
{
|
||||
path: "/home",
|
||||
component: () => import("@/layouts/NavigationLayout.vue"),
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
name: "Home",
|
||||
component: () => import("@/views/HomeView.vue"),
|
||||
meta: {
|
||||
title: "首页",
|
||||
requiresAuth: false,
|
||||
menuType: 1, // NAVIGATION 类型,显示在顶部导航栏
|
||||
orderNum: -1, // 排在动态路由之前
|
||||
},
|
||||
}
|
||||
],
|
||||
},
|
||||
// {
|
||||
// path: "/home",
|
||||
// component: () => import("@/layouts/NavigationLayout.vue"),
|
||||
// children: [
|
||||
// {
|
||||
// path: "",
|
||||
// name: "Home",
|
||||
// component: () => import("@/views/HomeView.vue"),
|
||||
// meta: {
|
||||
// title: "首页",
|
||||
// requiresAuth: false,
|
||||
// menuType: 1, // NAVIGATION 类型,显示在顶部导航栏
|
||||
// orderNum: -1, // 排在动态路由之前
|
||||
// },
|
||||
// }
|
||||
// ],
|
||||
// },
|
||||
// 错误页面
|
||||
{
|
||||
path: "/403",
|
||||
|
||||
Reference in New Issue
Block a user