Commit a691da0c975eba5a71b888cb0687ee4d21b84dc9
1 parent
ec096965
防止切换权限用户后登录出现404
Showing
1 changed file
with
1 additions
and
1 deletions
ruoyi-ui/src/layout/components/Navbar.vue
| @@ -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 | } |