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

This commit is contained in:
RuoYi 2020-07-10 16:36:25 +08:00
parent ec09696512
commit a691da0c97

View File

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