From 0f0e584f3d57295aacf7c44f6e8f59d16828c1ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Tue, 3 Sep 2024 21:57:42 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E6=AD=A3=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/post/tp-parser.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/post/tp-parser.vue b/src/components/post/tp-parser.vue index a4efff73..b90fc9ce 100644 --- a/src/components/post/tp-parser.vue +++ b/src/components/post/tp-parser.vue @@ -75,7 +75,7 @@ function getParsedData(data: TGApp.Plugins.Mys.SctPost.Base[]): TGApp.Plugins.My 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); return res;