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