From 3a33ca13c7f39a5ef88e8b4343890d4f86270b63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Tue, 31 Dec 2024 11:27:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E4=BE=A7?= =?UTF-8?q?=E8=BE=B9=E6=A0=8F=E8=A7=92=E8=89=B2/=E6=AD=A6=E5=99=A8?= =?UTF-8?q?=E5=9B=BE=E9=89=B4=E8=B7=B3=E8=BD=AC=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/wiki.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/router/modules/wiki.ts b/src/router/modules/wiki.ts index 99cfad77..daefc578 100644 --- a/src/router/modules/wiki.ts +++ b/src/router/modules/wiki.ts @@ -1,7 +1,7 @@ /** * @file router/modules/wiki.ts * @description wiki 路由模块 - * @since Beta v0.5.3 + * @since Beta v0.6.7 */ import type { RouteRecordRaw } from "vue-router"; @@ -12,7 +12,7 @@ const wikiRoutes = ([ component: async () => await import("@/pages/WIKI/Abyss.vue"), }, { - path: "/wiki/character/:id", + path: "/wiki/character/:id?", name: "角色图鉴", component: async () => await import("@/pages/WIKI/Character.vue"), }, @@ -27,7 +27,7 @@ const wikiRoutes = ([ component: async () => await import("@/pages/WIKI/Material.vue"), }, { - path: "/wiki/weapon/:id", + path: "/wiki/weapon/:id?", name: "武器图鉴", component: async () => await import("@/pages/WIKI/Weapon.vue"), },