From b4a0593a6c8b7eeed739b0ff08ff75e648ad2ec7 Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Thu, 22 Aug 2024 12:08:25 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=84=20reactor:=20=E9=87=8D=E6=9E=84`ti?= =?UTF-8?q?eba`=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tools.js b/apps/tools.js index 7e6d707..c30f0f6 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -1906,7 +1906,7 @@ export class tools extends plugin { const top = postList[0]; const { title, content } = top; let sendContent = `${this.identifyPrefix}识别:贴吧,${ title }` - if (content?.[0]?.cdn_src !== undefined) { + if (content.length > 0) { sendContent = [sendContent] for (let contentElement of content) { if (contentElement?.cdn_src !== undefined) {