Commit a691da0c975eba5a71b888cb0687ee4d21b84dc9

Authored by RuoYi
1 parent ec096965

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

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