From 1cb66a7e5fdc2d228676ec17690e3aae0f6471c0 Mon Sep 17 00:00:00 2001 From: zen Date: Wed, 17 May 2023 17:16:48 +0800 Subject: [PATCH] =?UTF-8?q?#I6YCC5=20=E7=94=A8=E6=88=B7=E7=9A=84=E9=97=A8?= =?UTF-8?q?=E6=88=B7=E7=BD=91=E7=AB=99=E8=83=BD=E5=90=A6=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E6=A0=A1=E9=AA=8C=EF=BC=9F=E5=B7=B2?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/app/routes/passport/login/login.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/login/login.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/login/login.component.ts index b1262183b..b4fb20cc1 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/login/login.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/login/login.component.ts @@ -136,6 +136,7 @@ export class UserLoginComponent implements OnInit, OnDestroy { this.state = res.data.state; this.captchaType = res.data.captcha; if (this.captchaType === 'NONE') { + //清除校验规则 this.form.get('captcha')?.clearValidators(); } else { //init image captcha