update ruoyi-ui/src/layout/components/Navbar.vue. 路由匹配 publicPath

Signed-off-by: 美一天 <130427+xiaoran27@user.noreply.gitee.com>
pull/1011/head
美一天 2025-04-29 07:41:33 +00:00 committed by Gitee
parent baf2f6f46b
commit c7b910293a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ export default {
type: 'warning'
}).then(() => {
this.$store.dispatch('LogOut').then(() => {
location.href = '/index'
location.href = process.env.BASE_URL + '/index'
})
}).catch(() => {})
}