Browse Source

消息模板bug

main
cs 3 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) {
setTemplateField(['name']);
} else {
setTemplateField(currentTemplate.fields.split(","));
setTemplateField(currentTemplate?.fields.split(","));
}
}, [open]);
@ -74,7 +74,6 @@ const MdwMessage = () => {
};
const typeHandlerChange = (value) => {
console.log(value)
setTemplateType(value)
}

Loading…
Cancel
Save