From eca25327c87c70f1b834815102402fc8eea7a7f0 Mon Sep 17 00:00:00 2001
From: zhizhijie <zhizhijie@users.noreply.gitee.com>
Date: 星期五, 04 九月 2026 14:48:46 +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