加了变量预览
This commit is contained in:
@@ -98,6 +98,8 @@
|
||||
<div class="subject-label" style="margin-bottom: 10px;">{{ $t('mailboxMouldDetail.emailBody') }}:</div>
|
||||
<TmrEmailEditor
|
||||
v-model="form.body"
|
||||
:journalList="journalList"
|
||||
:journalId="form.journalId"
|
||||
placeholder=""
|
||||
/>
|
||||
<!-- <CkeditorMail v-model="form.body" /> -->
|
||||
@@ -172,8 +174,9 @@ export default {
|
||||
.then(res => {
|
||||
const list = res || [];
|
||||
const mapped = (Array.isArray(list) ? list : []).map(j => ({
|
||||
...j,
|
||||
journal_id: j.journal_id || j.id,
|
||||
title: j.title || j.name || ''
|
||||
title: j.title || j.name || '',
|
||||
}));
|
||||
this.journalList = mapped;
|
||||
if (fromRouteJournalId) {
|
||||
|
||||
Reference in New Issue
Block a user