From 6974ada1c0a235c649e023bfcda3ba156118f642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Fri, 15 Nov 2024 18:02:15 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E5=B8=96?= =?UTF-8?q?=E5=AD=90loading=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/common/PostForum.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/common/PostForum.vue b/src/pages/common/PostForum.vue index 8e6447b6..2a06e049 100644 --- a/src/pages/common/PostForum.vue +++ b/src/pages/common/PostForum.vue @@ -193,7 +193,6 @@ onMounted(async () => { showLoading.update(`正在获取 ${gameLabel}-${forumLabel} 数据`); await freshPostData(); curForumLabel.value = forumLabel; - showLoading.end(); }); watch( @@ -233,7 +232,7 @@ async function freshPostData(): Promise { 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();