From fe5e4630e75a648f32a866b2b7a8dbffd1c25268 Mon Sep 17 00:00:00 2001
From: zhizhijie <zhizhijie@users.noreply.gitee.com>
Date: 星期日, 13 九月 2026 15:35:40 +0800
Subject: [PATCH] docs: 部署说明补充数据库两条路线(空库4脚本/整套备份还原)与 init.sql 破坏性警告;备份已还原验证通过

---
 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