|
|
@@ -93,16 +93,18 @@ class _LoginAccountPageContianerState extends State<LoginAccountPageContianer> i |
|
|
|
void _changeLoginTypeOnClick() { |
|
|
|
print('切换登陆'); |
|
|
|
|
|
|
|
_passFN?.unfocus(); |
|
|
|
_vcodeFN?.unfocus(); |
|
|
|
_phoneFN?.unfocus(); |
|
|
|
|
|
|
|
setState(() { |
|
|
|
_useVcode = !_useVcode; |
|
|
|
}); |
|
|
|
// 清除缓存 |
|
|
|
if (_useVcode) { |
|
|
|
_passEdController?.clear(); |
|
|
|
_passFN?.unfocus(); |
|
|
|
} else { |
|
|
|
_vcodeEdController?.clear(); |
|
|
|
_vcodeFN?.unfocus(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|