From 6cc31048cb4c1f7a97d845217485ae317f6cf627 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 13 六月 2025 14:53:22 +0800
Subject: [PATCH] 1739 随访记录添加时优化项

---
 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}&params=${JSON.stringify(to.query ? to.query : to.params)}`);
 			Session.clear();

--
Gitblit v1.8.0