From 654556a05394481b138b1070d83a22dbf311e94b Mon Sep 17 00:00:00 2001
From: zhizhijie <zhizhijie@users.noreply.gitee.com>
Date: 星期二, 22 九月 2026 10:40:37 +0800
Subject: [PATCH] fix(报表生成): 已自动下载后不再显示下载按钮(按用户反馈调整)

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