mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-03 06:55:06 +08:00
🐛 修复部分帖子渲染异常
This commit is contained in:
@@ -74,8 +74,6 @@ function getParsedData(data: SctPostDataArr): SctPostDataArr {
|
||||
if (check < parsedText.length && check !== 0) {
|
||||
res.push(...child);
|
||||
child = [];
|
||||
} else if (check === 0 && child.length > 0) {
|
||||
res.push(...child);
|
||||
}
|
||||
}
|
||||
if (res.length === 0 && child.length > 0) res.push(...child);
|
||||
|
||||
Reference in New Issue
Block a user