diff --git a/src/components/LexicalEditor/plugins/ToolbarPlugin.jsx b/src/components/LexicalEditor/plugins/ToolbarPlugin.jsx
index 33569a3..4eeb2a8 100644
--- a/src/components/LexicalEditor/plugins/ToolbarPlugin.jsx
+++ b/src/components/LexicalEditor/plugins/ToolbarPlugin.jsx
@@ -243,16 +243,6 @@ function FloatingLinkEditor({ editor }) {
setEditMode(true);
}}
/>
- {/* todo: 删除后, AutoLink的作用会使文本再次自动转成链接 */}
- {/*
event.preventDefault()}
- onClick={() => {
- editor.dispatchCommand(TOGGLE_LINK_COMMAND, null);
- }}
- /> */}
>
)}
diff --git a/src/views/Conversations/Online/Components/BubbleEmail.jsx b/src/views/Conversations/Online/Components/BubbleEmail.jsx
index 0a9a37e..c6116f1 100644
--- a/src/views/Conversations/Online/Components/BubbleEmail.jsx
+++ b/src/views/Conversations/Online/Components/BubbleEmail.jsx
@@ -58,7 +58,7 @@ const BubbleEmail = ({ onOpenEditor, onOpenEmail, ...message }) => {
{...(message.sender === 'me'
? {
styles: { backgroundColor: '#e0e7ff', boxShadow: 'none', border: '1px solid #818cf8' }, // 100 400
- // replyButton: ['text', 'document', 'image'].includes(message.whatsapp_msg_type) && message.status !== 'failed' ? true : false, // todo: 仅对接收的显示?
+ // replyButton: ['text', 'document', 'image'].includes(message.whatsapp_msg_type) && message.status !== 'failed' ? true : false, // review: 仅对接收的显示?
}
: {})}
className={[
diff --git a/src/views/Conversations/Online/Components/MessageListFilter.jsx b/src/views/Conversations/Online/Components/MessageListFilter.jsx
index e77e76c..c48c1a2 100644
--- a/src/views/Conversations/Online/Components/MessageListFilter.jsx
+++ b/src/views/Conversations/Online/Components/MessageListFilter.jsx
@@ -116,7 +116,7 @@ const MessageListFilter = ({ ...props }) => {
const [visible, setVisible] = useState(false);
const handleReSend = (currentIndex) => {
console.log('handleReSend', currentIndex, data[currentIndex]);
- // todo: 没有先push到窗口上, 导致没有更新
+ // fix: 没有先push到窗口上, 导致没有更新
const item = data[currentIndex];
const msgObjMerge = {
sender: 'me',
diff --git a/src/views/Conversations/Online/Input/EmailEditorPopup.jsx b/src/views/Conversations/Online/Input/EmailEditorPopup.jsx
index 46b9848..4aac478 100644
--- a/src/views/Conversations/Online/Input/EmailEditorPopup.jsx
+++ b/src/views/Conversations/Online/Input/EmailEditorPopup.jsx
@@ -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,
}>附件
- {/* todo: 添加图文集、支付链接 */}
+ {/* todo: 添加: 支付链接 */}
diff --git a/src/views/Conversations/Online/Input/InputComposer.jsx b/src/views/Conversations/Online/Input/InputComposer.jsx
index 24a9670..5bf4730 100644
--- a/src/views/Conversations/Online/Input/InputComposer.jsx
+++ b/src/views/Conversations/Online/Input/InputComposer.jsx
@@ -200,7 +200,7 @@ const InputComposer = ({ isWABA, channel }) => {
setComplexMsg(_tmpFile.msgData);
setPastedUploading(true);
const { file_url } = await postUploadFileItem(tmpfile, _tmpFile.newName);
- setPastedUploading(false); // todo: 更新data uri
+ setPastedUploading(false);
if (file_url) {
_tmpFile.msgData.data.dataUri = file_url;
_tmpFile.msgData.data.link = file_url;