|
|
|
@ -174,8 +174,8 @@ const EmailEditorPopup = ({ open, setOpen, fromEmail, fromUser, conversationid,
|
|
|
|
|
setOpenPlainTextConfirm(false);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// todo: 附件:
|
|
|
|
|
// 1. 直接上传返回地址
|
|
|
|
|
// 附件:
|
|
|
|
|
// 1. ~直接上传返回地址~
|
|
|
|
|
// 2. 发送文件信息
|
|
|
|
|
const [fileList, setFileList] = useState([]);
|
|
|
|
|
const handleChange = (info) => {
|
|
|
|
@ -225,7 +225,7 @@ const EmailEditorPopup = ({ open, setOpen, fromEmail, fromUser, conversationid,
|
|
|
|
|
msg_source: 'email',
|
|
|
|
|
// to: currentConversation.whatsapp_phone_number,
|
|
|
|
|
date: new Date(),
|
|
|
|
|
status: 'waiting',
|
|
|
|
|
status: 'waiting', // accepted
|
|
|
|
|
...msgObj,
|
|
|
|
|
// id: `${currentConversation.sn}.${msgObj.id}`,
|
|
|
|
|
// id: `${stickToCid}.${msgObj.id}`,
|
|
|
|
@ -392,7 +392,7 @@ const EmailEditorPopup = ({ open, setOpen, fromEmail, fromUser, conversationid,
|
|
|
|
|
<Button icon={<UploadOutlined />}>附件</Button>
|
|
|
|
|
</Upload>
|
|
|
|
|
<Flex align={'center'} className='absolute right-0'>
|
|
|
|
|
{/* todo: 添加图文集、支付链接 */}
|
|
|
|
|
{/* todo: 添加: 支付链接 */}
|
|
|
|
|
<Divider type='vertical' />
|
|
|
|
|
<Button type={'link'} onClick={() => openDrawer()}>图文集</Button>
|
|
|
|
|
<Button type={'link'}>支付链接</Button>
|
|
|
|
|