We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 130432e commit 068cbe7Copy full SHA for 068cbe7
src/list/_example/pull-refresh.tsx
@@ -34,7 +34,7 @@ export default function ListDemo() {
34
};
35
36
const onLoadData = (isRefresh?) => {
37
- if ((listData.current.length >= MAX_DATA_LEN && !isRefresh) || loading.value) {
+ if ((listData.current.length >= MAX_DATA_LEN && !isRefresh) || loading) {
38
return;
39
}
40
setLoading('loading');
0 commit comments