reduce the number of skeleton rows when loading in transaction list page

This commit is contained in:
MaysWind
2025-07-07 22:58:41 +08:00
parent 0387551c43
commit b05a53ffe3
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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);
}