♻️ 重构链接解析处理

This commit is contained in:
目棃
2024-07-26 22:35:51 +08:00
parent a7a0a8b0e0
commit 672fa2e536
4 changed files with 98 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
/**
* @file router/modules/main.ts
* @description 主路由模块
* @since Beta v0.4.5
* @since Beta v0.5.1
*/
const mainRoutes = [
@@ -21,7 +21,7 @@ const mainRoutes = [
component: async () => await import("../../pages/common/News.vue"),
},
{
path: "/posts",
path: "/posts/:gid?/:forum?",
name: "酒馆",
component: async () => await import("../../pages/common/Posts.vue"),
},