diff --git a/src/views/login/index.vue b/src/views/login/index.vue index b706614..76ad9a3 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -164,9 +164,7 @@ this.$message.success('登录成功') removeCurrentSys() this.$router.push({ path: '/' }) - console.log('++++++++++++++', this.$router) - }).catch((error) => { - this.$message.error(error) + }).catch(() => { this.loading = false if (this.showKaptcha) { this.$refs.kaptcha.refreshCode()