From 0e0bd33117e0a1feee1e1703e427ab1a971e7c1b Mon Sep 17 00:00:00 2001 From: Lei OT Date: Wed, 27 Nov 2024 16:09:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8F=91=E9=80=81=E9=82=AE=E4=BB=B6:=20?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E8=AE=A2=E5=8D=95=E6=98=AFnull->''?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LexicalEditor/plugins/InlineImagePlugin/index.tsx | 2 +- src/views/Conversations/Online/Input/EmailEditorPopup.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/LexicalEditor/plugins/InlineImagePlugin/index.tsx b/src/components/LexicalEditor/plugins/InlineImagePlugin/index.tsx index 17c924d..31ff3dd 100644 --- a/src/components/LexicalEditor/plugins/InlineImagePlugin/index.tsx +++ b/src/components/LexicalEditor/plugins/InlineImagePlugin/index.tsx @@ -170,7 +170,7 @@ export function InsertInlineImageDialog({ data-test-id="image-modal-file-upload-btn" disabled={isDisabled} onClick={() => handleOnClick()}> - Confirm + {uploading ? 'Uploading, Pls wait...' : 'Confirm'} diff --git a/src/views/Conversations/Online/Input/EmailEditorPopup.jsx b/src/views/Conversations/Online/Input/EmailEditorPopup.jsx index e6f0ca5..b03ceb4 100644 --- a/src/views/Conversations/Online/Input/EmailEditorPopup.jsx +++ b/src/views/Conversations/Online/Input/EmailEditorPopup.jsx @@ -330,7 +330,7 @@ const EmailEditorPopup = ({ open, setOpen, fromEmail, fromUser, fromOrder, toEma body.attaList = fileList; body.opi_sn = emailOPI; body.mat_sn = emailMat; - body.coli_sn = emailOrder; + body.coli_sn = emailOrder || ''; // console.log('body', body, '\n', emailOrder); const values = await form.validateFields(); body.cc = values.cc || '';