防止切换权限用户后登录出现404

This commit is contained in:
RuoYi 2020-07-10 16:36:25 +08:00
parent ec09696512
commit a691da0c97
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ export default {
type: 'warning'
}).then(() => {
this.$store.dispatch('LogOut').then(() => {
location.reload()
location.href = '/index';
})
})
}