From d9e68c8234a79ecaa9fb3304caadbc99607715c9 Mon Sep 17 00:00:00 2001 From: tanghaolin <1723298894@qq.com> Date: 星期五, 07 三月 2025 17:50:23 +0800 Subject: [PATCH] 修改界面内容 --- src/router/index.ts | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 89fe5e8..9c698ec 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,5 +1,6 @@ import { createRouter, createWebHashHistory } from 'vue-router'; + const router = createRouter({ history: createWebHashHistory(), routes: [ @@ -94,5 +95,8 @@ }, ], }); +router.beforeEach((to, from, next) => { + next(); +}); export default router; -- Gitblit v1.9.3