fix(mock): fix mock paging tool error

This commit is contained in:
vben
2020-11-01 11:30:58 +08:00
parent a1ffb61804
commit b36d9486a5
4 changed files with 867 additions and 5 deletions

View File

@@ -115,7 +115,6 @@ export function useDataSource(
if (afterFetch && isFunction(afterFetch)) {
resultItems = afterFetch(resultItems) || resultItems;
}
dataSourceRef.value = resultItems;
setPagination({
total: resultTotal || 0,