diff --git a/src/views/NewEmail.jsx b/src/views/NewEmail.jsx
index 6c920aa..4bd74a5 100644
--- a/src/views/NewEmail.jsx
+++ b/src/views/NewEmail.jsx
@@ -57,7 +57,7 @@ const parseHTMLText = (html) => {
}
const generateQuoteContent = (mailData, isRichText = true) => {
- const html = `
From: ${(mailData.info?.MAI_From || '')
+ const html = `
From: ${(mailData.info?.MAI_From || '')
.replace(//g, '>')}
Sent: ${
mailData.info?.MAI_SendDate || ''
@@ -65,7 +65,7 @@ const generateQuoteContent = (mailData, isRichText = true) => {
.replace(//g, '>')}
Subject: ${mailData.info?.MAI_Subject || ''}
${
mailData.info?.MAI_ContentType === 'text/html' ? mailData.content : mailData.content.replace(/\r\n/g, '
')
- }
`
+ }
`
return isRichText ? html : parseHTMLText(html)
}
@@ -213,7 +213,7 @@ const NewEmail = () => {
// 排除草稿: `编辑`有id 的邮件
if (!isEmpty(mailData.info) && !['edit'].includes(pageParam.action)) {
- readyToInitialContent = orderPrefix + signatureBody
+ readyToInitialContent = orderPrefix + '
' + signatureBody
}
switch (pageParam.action) {
case 'reply':
@@ -603,7 +603,7 @@ const NewEmail = () => {
// labelCol={{ span: 3 }}
>
-
}>
+
@@ -705,7 +705,10 @@ const NewEmail = () => {
{!isEmpty(Number(pageParam.quoteid)) && pageParam.action!=='edit' && !showQuoteContent && (
-
)}
- {showQuoteContent && (
+ {/* {showQuoteContent && (
setQuoteContent(`${e.target.innerHTML}
`)}
dangerouslySetInnerHTML={{ __html: generateQuoteContent(mailData) }}>
- )}
+ )} */}
>
)