From eff562494a57983b4b63a906d6414d8695bf08bf Mon Sep 17 00:00:00 2001 From: BTMuli Date: Tue, 19 May 2026 18:59:10 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A5=85=20Cannot=20read=20properties=20of?= =?UTF-8?q?=20undefined=20(reading=20'text')?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/common/PostForum.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/common/PostForum.vue b/src/pages/common/PostForum.vue index e2a03003..803ad779 100644 --- a/src/pages/common/PostForum.vue +++ b/src/pages/common/PostForum.vue @@ -192,7 +192,9 @@ onMounted(async () => { selectedForum.value = curForums.value[0]; } const gameLabel = curGame.value?.text ?? ""; - await TGLogger.Info(`[Posts][${gameLabel}][onMounted][${selectedForum.value.text}] 打开帖子列表`); + await TGLogger.Info( + `[Posts][${gameLabel}][onMounted][${selectedForum.value?.text ?? ""}] 打开帖子列表`, + ); await freshPostData(); firstLoad.value = true; });