Browse Source

模板bug

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

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

@ -131,6 +131,7 @@ const MdwMessage = () => {
showCount: true,
},
formItemProps: {
hidden: form.getFieldValue('id') !== 0,
rules: [
{
required: true,
@ -227,7 +228,7 @@ const MdwMessage = () => {
},
},
] as ProColumns[]
}, [isDeleting, currentTemplate, search, templateField, templateType])
}, [isDeleting, currentTemplate, search, templateField, templateType, open])
const columns = useMemo(() => {
return [

Loading…
Cancel
Save