src/views/login/index.vue
@@ -217,7 +217,7 @@ } this.$message.success("登录成功") this.btnload = false this.$router.push({ path: '/' }) this.$router.push({ path: this.redirect || '/' }) }).catch((error) => { this.$message.error(error.message) this.btnload = false