From 8ea56d3b22432d7af3d14f3539e2cbf7c3dbb036 Mon Sep 17 00:00:00 2001 From: phanes <5411232+phanes@user.noreply.gitee.com> Date: 星期日, 07 十一月 2021 11:58:35 +0800 Subject: [PATCH] update 减少使用特定数据库函数 --- 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 466cd98..e6721b7 100644 --- a/ruoyi-ui/src/layout/components/Navbar.vue +++ b/ruoyi-ui/src/layout/components/Navbar.vue @@ -102,7 +102,7 @@ type: 'warning' }).then(() => { this.$store.dispatch('LogOut').then(() => { - location.href = '/index'; + location.href = this.$router.options.base + '/index'; }) }).catch(() => {}); } -- Gitblit v1.9.3