From 079d872fabfe488abf485d8898c40ff1fd746472 Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期一, 31 八月 2026 09:48:44 +0800
Subject: [PATCH] docs: 交接约定——「提交」= commit + 推送远端 git
---
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