From d2fc6d6e5c57e4d7c32f8a112326a2879625515b Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期二, 10 九月 2024 15:12:37 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.11.205:9000/r/se-cloud --- 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