mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-21 21:49:55 +08:00
🐛 修复部分帖子解析异常
This commit is contained in:
@@ -93,6 +93,7 @@ function getParsedText(data: TpTextType): Array<TpTextType> {
|
||||
|
||||
function getTpName(tp: TGApp.BBS.SctPost.Base): Component {
|
||||
if (tp.children) return TpTexts;
|
||||
if (typeof tp.insert === "undefined") return TpUnknown;
|
||||
if (typeof tp.insert === "string") return TpText;
|
||||
// game_user_info属于backup_text的一种,必须放在backup_text判断的前面
|
||||
if ("game_user_info" in tp.insert) return TpUid;
|
||||
|
||||
Reference in New Issue
Block a user