Skip to content

Commit 1b7ac58

Browse files
committed
fix #251
1 parent 33f438a commit 1b7ac58

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

lib/page/SearchPage.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,25 @@ class _SearchPageState extends State<SearchPage> with AutomaticKeepAliveClientMi
120120
if (searchText == null || searchText.trim().length == 0) {
121121
return;
122122
}
123+
if(isLoading) {
124+
return;
125+
}
123126
_resolveSelectIndex();
124127
}, () {
125128
if (searchText == null || searchText.trim().length == 0) {
126129
return;
127130
}
131+
if(isLoading) {
132+
return;
133+
}
128134
_resolveSelectIndex();
129135
}, (selectIndex) {
136+
if (searchText == null || searchText.trim().length == 0) {
137+
return;
138+
}
139+
if(isLoading) {
140+
return;
141+
}
130142
this.selectIndex = selectIndex;
131143
_resolveSelectIndex();
132144
})),

0 commit comments

Comments
 (0)