From 1d5aa0260234e327cae874e10a21e09f730f095b Mon Sep 17 00:00:00 2001
From: lixuliang <lixuliang_hd@126.com>
Date: 星期二, 10 九月 2024 11:10:33 +0800
Subject: [PATCH] 更新

---
 se-ui/src/layout/components/Navbar.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/se-ui/src/layout/components/Navbar.vue b/se-ui/src/layout/components/Navbar.vue
index 7673e93..c90562c 100644
--- a/se-ui/src/layout/components/Navbar.vue
+++ b/se-ui/src/layout/components/Navbar.vue
@@ -103,9 +103,9 @@
       })
         .then(() => {
           this.$store.dispatch("LogOut").then(() => {
-            if ((process.env.ENV = "development")) {
+            if ((process.env.ENV == "development")) {
               window.location.href = "http://localhost:8080/login";
-            } else if ((process.env.ENV = "production")) {
+            } else if ((process.env.ENV == "production")) {
               window.location.href = window.location.origin + "/sso/login";
             }
           });

--
Gitblit v1.9.3