From 8f9006b9f4a96b5032823a406b2b148262996d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Sat, 8 Mar 2025 22:51:25 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=94=20=E8=B0=83=E6=95=B4=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/viewPost/tp-parser.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/viewPost/tp-parser.vue b/src/components/viewPost/tp-parser.vue index a2ee9cc5..6e29af50 100644 --- a/src/components/viewPost/tp-parser.vue +++ b/src/components/viewPost/tp-parser.vue @@ -95,8 +95,9 @@ function getTpName(tp: TGApp.BBS.SctPost.Base): Component { if (typeof tp.insert === "string") return TpText; // game_user_info属于backup_text的一种,必须放在backup_text判断的前面 if ("game_user_info" in tp.insert) return TpUid; - if ("backup_text" in tp.insert) return TpBackupText; + // custom_emoticon属于backup_text的一种,必须放在backup_text判断的前面 if ("custom_emoticon" in tp.insert) return TpEmoticon; + if ("backup_text" in tp.insert) return TpBackupText; if ("divider" in tp.insert) return TpDivider; if ("image" in tp.insert) return TpImage; if ("link_card" in tp.insert) return TpLinkCard;