From fc70a46bf84cda4fbe53332f4abd84cf1227fe95 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期二, 11 十一月 2025 10:14:25 +0800
Subject: [PATCH] 新增气象极值
---
src/router/index.ts | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/router/index.ts b/src/router/index.ts
index efe48a5..784be70 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -75,7 +75,8 @@
NProgress.done();
} else {
if (!token) {
- next(`/login?redirect=${to.path}¶ms=${JSON.stringify(to.query ? to.query : to.params)}`);
+ // next(`/login?redirect=${to.path}¶ms=${JSON.stringify(to.query ? to.query : to.params)}`);
+ next(`/login`);
Session.clear();
NProgress.done();
// next()
--
Gitblit v1.9.2