From a31a0d858845ab7b04df7260b0566d255703e19c Mon Sep 17 00:00:00 2001
From: zhizhijie <zhizhijie@users.noreply.gitee.com>
Date: 星期五, 04 九月 2026 11:45:57 +0800
Subject: [PATCH] docs: 2026-09-04 交接文档(进度/口径/待确认/环境要点),供新会话继续
---
traffic-audit-web/src/router/index.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/traffic-audit-web/src/router/index.js b/traffic-audit-web/src/router/index.js
index 0971ecf..6316dc6 100644
--- a/traffic-audit-web/src/router/index.js
+++ b/traffic-audit-web/src/router/index.js
@@ -19,7 +19,7 @@
})
router.beforeEach((to, from, next) => {
- const token = localStorage.getItem('token')
+ const token = sessionStorage.getItem('token')
if (to.path === '/login') {
next(token ? '/dashboard' : undefined)
} else {
--
Gitblit v1.9.1