作者 RuoYi

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

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