web-权限、文章

This commit is contained in:
2025-10-18 18:19:19 +08:00
parent b3424e554f
commit ccc1d6338b
35 changed files with 3314 additions and 463 deletions

View File

@@ -123,11 +123,12 @@ export const routes: Array<RouteRecordRaw> = [
}
],
},
// 捕获所有未匹配的路由
{
path: "/:pathMatch(.*)*",
redirect: "/404",
},
// 捕获所有未匹配的路由(这个应该在所有动态路由添加后再匹配)
// 注意404路由会在动态路由生成后重新添加
// {
// path: "/:pathMatch(.*)*",
// redirect: "/404",
// },
];
const router = createRouter({