Browse Source

消息模板bug

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

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

@ -47,7 +47,7 @@ const MdwMessage = () => {
if (form.getFieldValue('id') === 0) { if (form.getFieldValue('id') === 0) {
setTemplateField(['name']); setTemplateField(['name']);
} else { } else {
setTemplateField(currentTemplate.fields.split(","));
setTemplateField(currentTemplate?.fields.split(","));
} }
}, [open]); }, [open]);
@ -74,7 +74,6 @@ const MdwMessage = () => {
}; };
const typeHandlerChange = (value) => { const typeHandlerChange = (value) => {
console.log(value)
setTemplateType(value) setTemplateType(value)
} }

Loading…
Cancel
Save