From dd6ec67aeb7645d08845224303a01b0e9bf74244 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Fri, 26 Apr 2024 16:05:37 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=B6=88=E6=81=AF=E5=AD=97=E6=95=B0?= =?UTF-8?q?=E9=99=90=E5=88=B6:=20=E5=90=AB=E6=9C=89=E5=A4=9A=E5=AA=92?= =?UTF-8?q?=E4=BD=93=E6=96=87=E4=BB=B6=E6=97=B6,=20text=E6=9C=80=E5=A4=A71?= =?UTF-8?q?024?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Conversations/Online/InputComposer.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Conversations/Online/InputComposer.jsx b/src/views/Conversations/Online/InputComposer.jsx index 7eb4aff..8880d39 100644 --- a/src/views/Conversations/Online/InputComposer.jsx +++ b/src/views/Conversations/Online/InputComposer.jsx @@ -249,7 +249,7 @@ const InputComposer = ({ mobile }) => { onPaste={handlePaste} ref={textInputRef} size='large' - maxLength={2000} + maxLength={complexMsg.id ? 1024 : 2000} showCount={textabled} placeholder={ !textabled