Browse Source

模板bug

main
cs 2 months ago
parent
commit
9977401600
  1. 2
      src/pages/message/template/index.tsx

2
src/pages/message/template/index.tsx

@ -89,6 +89,7 @@ const MdwMessage = () => {
}; };
const typeHandlerChange = (value) => { const typeHandlerChange = (value) => {
// 切换类型标题重置
if (value !== 'EMAIL') { if (value !== 'EMAIL') {
setTemplateTitle('') setTemplateTitle('')
form.setFieldsValue({'title': undefined}) form.setFieldsValue({'title': undefined})
@ -235,6 +236,7 @@ const MdwMessage = () => {
{ {
title: 'ID', title: 'ID',
dataIndex: 'id', dataIndex: 'id',
hideInTable: true,
}, },
{ {
title: t(`${i18nPrefix}.columns.name`, '模板名称'), title: t(`${i18nPrefix}.columns.name`, '模板名称'),

Loading…
Cancel
Save