Browse Source

邮件bug

main
cs 2 months ago
parent
commit
44bf8ed605
  1. 6
      src/pages/message/my/index.tsx

6
src/pages/message/my/index.tsx

@ -255,7 +255,7 @@ const MdwMessage = () => {
] as ProColumns[] ] as ProColumns[]
}, [search, currentTemplate]) }, [search, currentTemplate])
const expandedRowRender = (record) => {
const expandedRowRender = (record, index) => {
const expandedColumns: TableColumnsType = [ const expandedColumns: TableColumnsType = [
{ {
title: "收件人", title: "收件人",
@ -266,8 +266,8 @@ const MdwMessage = () => {
dataIndex: 'status', dataIndex: 'status',
render: (_text, record) => { render: (_text, record) => {
return <Badge return <Badge
status={['default', 'processing', 'success', 'error'][record.status] as any}
text={['未处理', '发送中', '发送成功', '发送失败'][record.status]}/>
status={['default', 'success', 'error'][record.status] as any}
text={['未处理', '发送成功', '发送失败'][record.status]}/>
} }
}, },
{ {

Loading…
Cancel
Save