src/view/Login.vue @@ -81,7 +81,7 @@ } if (!this.codeStr.match(new RegExp(this.code, "i"))) { this.$message({ message: '验证码错误', message: '验证码错误 | Captcha Error', type: 'warning' }); this.codeStr = generateVerificationCode()