ruoyi-ui/src/layout/components/Navbar.vue
@@ -260,7 +260,7 @@ this.passwordOpen = false setTimeout(() => { this.$store.dispatch('LogOut').then(() => { location.href = '/login' this.$router.push('/login') }) }, 600) }).finally(() => { @@ -280,7 +280,7 @@ type: 'warning' }).then(() => { this.$store.dispatch('LogOut').then(() => { location.href = '/login' this.$router.push('/login') }) }).catch(() => {}) }