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

Loading…
Cancel
Save