From d6db621f4de98894d900c82c8cd47b1287fef219 Mon Sep 17 00:00:00 2001 From: KirisameVanilla <118162831+kirisamevanilla@users.noreply.github.com> Date: Mon, 15 Sep 2025 15:16:48 +0800 Subject: [PATCH] fix --- src/router/index.ts | 2 +- src/views/WritingPage.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 2bd8dad..4f4a351 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -13,7 +13,7 @@ const router = createRouter({ }) // 路由守卫 -router.beforeEach((to, from, next) => { +router.beforeEach((to, _, next) => { const token = localStorage.getItem('access_token') // 需要认证的页面 diff --git a/src/views/WritingPage.vue b/src/views/WritingPage.vue index caba9a3..138a8d7 100644 --- a/src/views/WritingPage.vue +++ b/src/views/WritingPage.vue @@ -74,7 +74,7 @@