src/layout/components/Navbar.vue
@@ -92,7 +92,7 @@ removeCookie('usertype') removeCookie('userid') this.$message.success('退出成功!') this.$router.push(`/login?redirect=${this.$route.fullPath}`) this.$router.push('/login') // this.$router.push(`/login?redirect=${this.$route.fullPath}`) } // this.$router.push(`/login`)