diff --git a/xiuosiot-frontend/src/layout/components/Navbar.vue b/xiuosiot-frontend/src/layout/components/Navbar.vue index a592add..872ef11 100644 --- a/xiuosiot-frontend/src/layout/components/Navbar.vue +++ b/xiuosiot-frontend/src/layout/components/Navbar.vue @@ -35,7 +35,7 @@ export default { }, async logout() { await this.$store.dispatch('user/logout') - this.$router.push('/login') + this.$router.push('/home') } } }