From c832bf2e80ac465e71b7a1c1f7a59d4252030989 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 05 Aug 2025 17:33:08 +0800
Subject: [PATCH] feat:事件工单滚动条

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

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

--
Gitblit v1.9.3