From 583738fa65ba565ecd2af6c6828273f4de6c1674 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期三, 09 十二月 2020 13:33:41 +0800
Subject: [PATCH] 日志输出改回相对路径 解决新版idea 编译user.dir会指定到idea配置目录下

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

diff --git a/ruoyi-ui/src/layout/components/Navbar.vue b/ruoyi-ui/src/layout/components/Navbar.vue
index 1de43a5..b11460a 100644
--- a/ruoyi-ui/src/layout/components/Navbar.vue
+++ b/ruoyi-ui/src/layout/components/Navbar.vue
@@ -94,7 +94,7 @@
         type: 'warning'
       }).then(() => {
         this.$store.dispatch('LogOut').then(() => {
-          location.reload()
+          location.href = '/index';
         })
       })
     }

--
Gitblit v1.9.3