From 923745b2a138fcd243fa2b13fd5cf3f9e6eed16b Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 06 Feb 2026 10:11:48 +0800
Subject: [PATCH] feat:多边形绘制优化
---
applications/drone-command/src/store/modules/user.js | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/applications/drone-command/src/store/modules/user.js b/applications/drone-command/src/store/modules/user.js
index 3950b41..4dbd240 100644
--- a/applications/drone-command/src/store/modules/user.js
+++ b/applications/drone-command/src/store/modules/user.js
@@ -272,11 +272,10 @@
GetMenu({ commit, dispatch }, tenantId) {
const errLogOut = () => {
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 = "/manage/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