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

This commit is contained in:
RuoYi
2020-07-11 09:42:25 +08:00
committed by 疯狂的狮子li
parent cb00e86cb8
commit b17782f5ec
2 changed files with 2 additions and 2 deletions

View File

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