🐛 修正参数

This commit is contained in:
目棃
2024-09-03 21:57:42 +08:00
parent 3425919816
commit 0f0e584f3d

View File

@@ -75,7 +75,7 @@ function getParsedData(data: TGApp.Plugins.Mys.SctPost.Base[]): TGApp.Plugins.My
child = []; child = [];
} }
} }
if (check !== parsedText.length - 1 && child.length > 0) res.push(...child); if (check !== parsedText.length - 1 && child.length > 1) res.push(...child);
} }
if (res.length === 0 && child.length > 0) res.push(...child); if (res.length === 0 && child.length > 0) res.push(...child);
return res; return res;