From a8245fd78a1f5c213df66567a4b708fa7e4b3b70 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期三, 09 十月 2024 14:34:03 +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