perf: 邮件类型

2.0/wai-server
Lei OT 10 months ago
parent 5eedb098df
commit 75d998a6fe

@ -150,6 +150,7 @@ const EmailComposer = ({ ...props }) => {
setSendLoading(true)
body.externalID = stickToCid
body.actionID = `${stickToCid}.${msgObj.id}`
body.contenttype = 'text/plain';
try {
const bubbleMsg = cloneDeep(msgObj)
bubbleMsg.id = `${stickToCid}.${msgObj.id}`

@ -408,6 +408,7 @@ const EmailEditorPopup = ({ open, setOpen, fromEmail, fromUser, fromOrder, oid,
setSendLoading(true);
body.externalID = stickToCid;
body.actionID = `${stickToCid}.${msgObj.id}`;
body.contenttype = isRichText ? 'text/html' : 'text/plain';
try {
const bubbleMsg = cloneDeep(msgObj);
bubbleMsg.id = `${stickToCid}.${msgObj.id}`;

Loading…
Cancel
Save