路由更新

This commit is contained in:
2025-10-17 12:05:04 +08:00
parent 0811af6d03
commit edadcc72ca
15 changed files with 456 additions and 557 deletions

View File

@@ -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",