🥅 Cannot read properties of undefined (reading 'text')

This commit is contained in:
BTMuli
2026-05-19 18:59:10 +08:00
parent 503a869b13
commit eff562494a

View File

@@ -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;
});