From 2c999f65eb65c3ea80ff91ff50732a691f2ec2e0 Mon Sep 17 00:00:00 2001 From: pushuo <229102104@qq.com> Date: Thu, 1 Sep 2022 16:27:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=99=BB=E5=BD=95=E6=B3=A8?= =?UTF-8?q?=E5=86=8C=E6=8A=A5=E9=94=99=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/default/account/login.blade.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/themes/default/account/login.blade.php b/themes/default/account/login.blade.php index 5042b996..6cbd7b19 100644 --- a/themes/default/account/login.blade.php +++ b/themes/default/account/login.blade.php @@ -158,6 +158,9 @@ _data = this.registerForm, url = '/register' } + this.$refs['loginForm'].resetFields(); + this.$refs['registerForm'].resetFields(); + this.$refs[form].validate((valid) => { if (!valid) { layer.msg('{{ __('shop/login.check_form') }}', () => {})