We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d6163fd + 72bf720 commit 9337258Copy full SHA for 9337258
adminforth/spa/src/afcl/Table.vue
@@ -237,7 +237,7 @@
237
isLoading.value = false;
238
}
239
dataResult.value = result;
240
- } else {
+ } else if (typeof props.data === 'object' && Array.isArray(props.data)) {
241
const start = (currentPage.value - 1) * props.pageSize;
242
const end = start + props.pageSize;
243
dataResult.value = { data: props.data.slice(start, end), total: props.data.length };
0 commit comments