diff --git a/src/views/myLogin.vue b/src/views/myLogin.vue index 724e30d..9f88e15 100644 --- a/src/views/myLogin.vue +++ b/src/views/myLogin.vue @@ -17,34 +17,19 @@

用户登录

- + - + - + @@ -136,8 +121,11 @@ export default { }, methods: { verifyAlert(text) { + debugger if (text === 'success') { this.loginForm.verificationCode = true; + }else{ + this.loginForm.verificationCode = false; } }, // handleLogin() { @@ -214,6 +202,7 @@ export default { }); }).catch((res) => { this.loading = false; + this.$refs.checkV.refresh(); this.$message.error(res); if (this.captchaEnabled) { this.getCode(); @@ -361,4 +350,7 @@ $light_gray: #eee; width: 490px; } } +.el-input--mini .el-input__icon { + line-height: 32px; +}