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