no message
This commit is contained in:
parent
28a03f1cde
commit
c75f0f191c
|
|
@ -122,6 +122,7 @@ class _TheLoginState extends ConsumerState<TheLogin> with CommonMixin {
|
|||
void getSchoolData(String loginName) async {
|
||||
var _client = await getClient();
|
||||
if (loginName.length != 0) {
|
||||
try {
|
||||
var res = await _client.toLoginGetSchools(loginName);
|
||||
if (res.success) {
|
||||
schools = res.data ?? [];
|
||||
|
|
@ -134,6 +135,7 @@ class _TheLoginState extends ConsumerState<TheLogin> with CommonMixin {
|
|||
setState(() {});
|
||||
return;
|
||||
}
|
||||
} catch (e) {}
|
||||
}
|
||||
if (schools.isNotEmpty || schoolId != null) {
|
||||
schools = [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue