ruoyi-ui/src/layout/components/Navbar.vue @@ -102,7 +102,7 @@ type: 'warning' }).then(() => { this.$store.dispatch('LogOut').then(() => { location.href = '/index'; this.$router.push({ path: "/login" }) }) }).catch(() => {}); }