Skip to content

Commit 9337258

Browse files
committed
Merge branch 'next' of github.com:devforth/adminforth into next
2 parents d6163fd + 72bf720 commit 9337258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/spa/src/afcl/Table.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
isLoading.value = false;
238238
}
239239
dataResult.value = result;
240-
} else {
240+
} else if (typeof props.data === 'object' && Array.isArray(props.data)) {
241241
const start = (currentPage.value - 1) * props.pageSize;
242242
const end = start + props.pageSize;
243243
dataResult.value = { data: props.data.slice(start, end), total: props.data.length };

0 commit comments

Comments
 (0)