From 81ced3885266779c3a3813a0e4687962375b1d62 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期一, 09 六月 2025 19:16:43 +0800
Subject: [PATCH] gx
---
src/router/index.ts | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/router/index.ts b/src/router/index.ts
index a92deab..e33cef8 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -98,7 +98,11 @@
if (to.path === '/login' && !token) {
next();
NProgress.done();
- } else {
+ }else if (to.path === '/tiaochabiao1' && !token) {
+ next();
+ NProgress.done();
+ }
+ else {
if (!token) {
next(`/login?redirect=${to.path}¶ms=${JSON.stringify(to.query ? to.query : to.params)}`);
Session.clear();
--
Gitblit v1.8.0