From 9b97b927bc576c5a5567e4da46c68d650174c6f7 Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期二, 01 九月 2026 15:21:37 +0800
Subject: [PATCH] docs: 交接快照(09-01)——同事年报开发中(我方不动)、新版本打包发布到用户环境
---
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