From 67a241471a413cbac5bd4741ec8b44ca26f9936e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Sun, 15 Dec 2024 09:13:38 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E7=89=88?= =?UTF-8?q?=E5=9D=97=E8=B7=B3=E8=BD=AC=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/common/PostForum.vue b/src/pages/common/PostForum.vue index fcb0479c..b3baf2ec 100644 --- a/src/pages/common/PostForum.vue +++ b/src/pages/common/PostForum.vue @@ -158,7 +158,6 @@ const posts = shallowRef>([]); onMounted(async () => { if (gid && typeof gid === "string") curGid.value = Number(gid); if (forum && typeof forum === "string") curForum.value = Number(forum); - firstLoad.value = true; showLoading.start(`正在获取${getGameName(curGid.value)}帖子数据...`); const gameLabel = getGameLabel(curGid.value); const forumLabel = getForumLabel(curGid.value, curForum.value); @@ -166,6 +165,7 @@ onMounted(async () => { showLoading.update(`正在获取 ${gameLabel}-${forumLabel} 数据`); await freshPostData(); curForumLabel.value = forumLabel; + firstLoad.value = true; }); watch( () => curGid.value,