From 8681bbd0bbf7084cca70ab99ec60413cf6547cd8 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sat, 31 Jan 2026 14:32:29 +0800
Subject: [PATCH] feat: 跳转修改

---
 applications/drone-command/src/store/modules/user.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/applications/drone-command/src/store/modules/user.js b/applications/drone-command/src/store/modules/user.js
index 3f6ba06..af8714f 100644
--- a/applications/drone-command/src/store/modules/user.js
+++ b/applications/drone-command/src/store/modules/user.js
@@ -274,9 +274,10 @@
         dispatch('LogOut').then(()=>{
           const env = import.meta.env.VITE_APP_ENV
           const adminUrl = import.meta.env.VITE_APP_DASHBOARD_URL
-          env === 'development'
-            ? window.location.href = "/drone-command/login"
-            : window.location.replace(`${adminUrl}#/login`)
+					window.location.href = "/drone-command/login"
+          // env === 'development'
+          //   ? window.location.href = "/drone-command/login"
+          //   : window.location.replace(`${adminUrl}#/login`)
         })
       }
       return new Promise(resolve => {

--
Gitblit v1.9.3