From 45b9019acb479783afcda038a13d868ff3fc322b Mon Sep 17 00:00:00 2001 From: PH2 <1293456824@qq.com> Date: Wed, 16 Sep 2020 17:20:20 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E7=99=BB=E9=99=86=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=9A=84=E7=84=A6=E7=82=B9=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/login_page/account/login_account_page.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/pages/login_page/account/login_account_page.dart b/lib/pages/login_page/account/login_account_page.dart index 426789e..a449682 100644 --- a/lib/pages/login_page/account/login_account_page.dart +++ b/lib/pages/login_page/account/login_account_page.dart @@ -93,16 +93,18 @@ class _LoginAccountPageContianerState extends State i void _changeLoginTypeOnClick() { print('切换登陆'); + _passFN?.unfocus(); + _vcodeFN?.unfocus(); + _phoneFN?.unfocus(); + setState(() { _useVcode = !_useVcode; }); // 清除缓存 if (_useVcode) { _passEdController?.clear(); - _passFN?.unfocus(); } else { _vcodeEdController?.clear(); - _vcodeFN?.unfocus(); } }