From e77cdd81559afcd17005fcab35fcfd030b4a24fc Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Thu, 03 Jul 2025 17:37:09 +0800
Subject: [PATCH] feat:点击登录跳转到指挥调度大屏登录页面

---
 src/page/index/top/index.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/page/index/top/index.vue b/src/page/index/top/index.vue
index dcdcb8d..9026c9a 100644
--- a/src/page/index/top/index.vue
+++ b/src/page/index/top/index.vue
@@ -102,7 +102,9 @@
         type: 'warning',
       }).then(() => {
         this.$store.dispatch('LogOut').then(() => {
-          this.$router.push({ path: '/login' })
+          // this.$router.push({ path: '/login' })
+          const adminUrl = import.meta.env.VITE_APP_DASHBOARD_URL
+		  window.location.replace(`${adminUrl}#/login`)
         })
       })
     },

--
Gitblit v1.9.3