From ece976ebffd725ae879dfc8d4e848d2e59fda117 Mon Sep 17 00:00:00 2001 From: zhiyu1998 Date: Sun, 9 Apr 2023 20:58:41 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E5=A2=9E=E5=BC=BAOCR?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E8=A7=A3=E9=87=8A/=E4=BC=98=E5=8C=96/?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=83=BD=E5=8A=9B=20&=20=F0=9F=8E=88=20perf:?= =?UTF-8?q?=20=E5=A2=9E=E5=BC=BAOCR=E7=9A=84=E5=81=A5=E5=A3=AE=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/tools.js b/apps/tools.js index 5a74b82..60dc25b 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -156,11 +156,6 @@ export class tools extends plugin { async ocr2anythingContext() { // 当前消息 const curMsg = this.e; - // 安全性检测 - if (curMsg.img) { - curMsg.reply("请发送图片!") - return; - } // 上一个消息 const preMsg = this.getContext().ocr2anythingContext; try {