mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 00:34:28 +08:00
reduce the number of skeleton rows when loading in transaction list page
This commit is contained in:
@@ -1064,8 +1064,9 @@ const paginationCurrentPage = computed<number>({
|
||||
|
||||
const skeletonData = computed<number[]>(() => {
|
||||
const data: number[] = [];
|
||||
const totalCount = (pageType.value === TransactionListPageType.List.type ? countPerPage.value : 3);
|
||||
|
||||
for (let i = 0; i < countPerPage.value; i++) {
|
||||
for (let i = 0; i < totalCount; i++) {
|
||||
data.push(i);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user