From e52ef61c8bd3a0c8088a073f289c9676bae4ac78 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Mon, 27 Oct 2025 18:55:45 +0800 Subject: [PATCH] [F] Fix link --- src/scripts/router.ts | 6 ++++++ src/views/Photo.vue | 24 +++++++++++++++++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/src/scripts/router.ts b/src/scripts/router.ts index 1e4b5e1..9cc832a 100644 --- a/src/scripts/router.ts +++ b/src/scripts/router.ts @@ -33,6 +33,12 @@ const routes: Array = [ meta: {title: '相册', nav: true}, component: () => import('../views/Photo.vue') }, + { + path: '/photo/:id', + name: 'Photo ID', + meta: {title: '相册', navBookmark: 'Photo'}, + component: () => import('../views/Photo.vue') + }, { path: '/others', name: 'Others', diff --git a/src/views/Photo.vue b/src/views/Photo.vue index 28fa77b..7af5051 100644 --- a/src/views/Photo.vue +++ b/src/views/Photo.vue @@ -1,5 +1,6 @@