Commit a691da0c authored by RuoYi's avatar RuoYi

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

parent ec096965
...@@ -94,7 +94,7 @@ export default { ...@@ -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';
}) })
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment