diff --git a/src/core/ajax.ts b/src/core/ajax.ts index f343cd196..1ce0a329b 100644 --- a/src/core/ajax.ts +++ b/src/core/ajax.ts @@ -210,6 +210,11 @@ export const responsiveGetPages = (config: { if (page === 1) { resolveResponsive(result) } + + if (list.length === 0) { + resolveTotal(result) + break + } page++ if (total === Infinity) { total = getTotal(json)