💄 帖子一次刷新12条

This commit is contained in:
目棃
2024-07-25 13:07:46 +08:00
parent 0b8dc2ef60
commit 632576de94
2 changed files with 10 additions and 4 deletions

View File

@@ -202,7 +202,7 @@ async function freshPostData(): Promise<void> {
);
loading.value = true;
loadingTitle.value = `正在加载 ${curGameLabel.value}-${curForumLabel.value}-${curSortLabel.value} 的数据`;
const postsGet = await Mys.Posts.get(curForum.value, curSortType.value);
const postsGet = await Mys.Posts.get(curForum.value, curSortType.value, 12);
posts.value = postsGet.list;
await nextTick();
loading.value = false;