From f07efb36894070d4cfcb77ec27ffd017da0bdf54 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 31 Jan 2026 14:34:30 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/jagzwxm/ja_web

---
 applications/task-work-order/src/axios.js |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/applications/task-work-order/src/axios.js b/applications/task-work-order/src/axios.js
index eb97e97..1a6e862 100644
--- a/applications/task-work-order/src/axios.js
+++ b/applications/task-work-order/src/axios.js
@@ -153,16 +153,16 @@
 					removeRefreshToken()
 					const env = import.meta.env.VITE_APP_ENV
 					// 重定向到登录页
-					// store.dispatch('FedLogOut').then(() => router.push({
-					// 	path: '/login'
-					// }));
-					env === 'development'
-						? store.dispatch('FedLogOut').then(() =>
-								router.push({
-									path: '/login',
-								})
-						  )
-						: store.dispatch('FedLogOut').then(() => window.location.replace(`${adminUrl}#/login`))
+					store.dispatch('FedLogOut').then(() => router.push({
+						path: '/login'
+					}));
+					// env === 'development'
+					// 	? store.dispatch('FedLogOut').then(() =>
+					// 			router.push({
+					// 				path: '/login',
+					// 			})
+					// 	  )
+					// 	: store.dispatch('FedLogOut').then(() => window.location.replace(`${adminUrl}#/login`))
 					return Promise.reject(new Error(message))
 				})
 		}

--
Gitblit v1.9.3