|
@@ -72,14 +72,14 @@ class _LoginInvitePageContainerState extends State<LoginInvitePageContainer> { |
|
|
_showInviteInfo = false; |
|
|
_showInviteInfo = false; |
|
|
}); |
|
|
}); |
|
|
print('$string'); |
|
|
print('$string'); |
|
|
if (!EmptyUtil.isEmpty(string) && string.length >= 3) { |
|
|
|
|
|
|
|
|
if (!EmptyUtil.isEmpty(string) && string.length >= 2) { |
|
|
_queryInviteInfo(string); |
|
|
_queryInviteInfo(string); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/// 查询邀请人 |
|
|
/// 查询邀请人 |
|
|
void _queryInviteInfo(String inviteNum) { |
|
|
void _queryInviteInfo(String inviteNum) { |
|
|
if (!EmptyUtil.isEmpty(inviteNum) && inviteNum.length < 3) { |
|
|
|
|
|
|
|
|
if (!EmptyUtil.isEmpty(inviteNum) && inviteNum.length < 2) { |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
BlocProvider.of<LoginInviteBloc>(context).add(LoginInviteQueryEvent(num: inviteNum)); |
|
|
BlocProvider.of<LoginInviteBloc>(context).add(LoginInviteQueryEvent(num: inviteNum)); |
|
|