|
|
@ -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 [ |
|
|
|