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