Skip to content

Commit

Permalink
🐛 修复帖子loading异常
Browse files Browse the repository at this point in the history
  • Loading branch information
BTMuli committed Nov 15, 2024
1 parent 0c24b95 commit 6974ada
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/common/PostForum.vue
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ onMounted(async () => {
showLoading.update(`正在获取 ${gameLabel}-${forumLabel} 数据`);
await freshPostData();
curForumLabel.value = forumLabel;
showLoading.end();
});
watch(
Expand Down Expand Up @@ -233,7 +232,7 @@ async function freshPostData(): Promise<void> {
await TGLogger.Info(
`[Posts][${gameLabel}][freshPostData][${forumLabel}][${sortLabel}] 刷新帖子列表`,
);
showLoading.start(`正在加载 ${gameLabel}-${forumLabel}-${sortLabel} 数据`);
showLoading.update(`正在加载 ${gameLabel}-${forumLabel}-${sortLabel} 数据`);
const postsGet = await Mys.Post.getForumPostList(curForum.value, curSortType.value);
posts.value = postsGet.list;
showLoading.end();
Expand Down

0 comments on commit 6974ada

Please sign in to comment.