const columns: ColumnsType<type> = [
{
title: 'xxxxxxxxxxx',
key: 'xxx',
render: (_text, record) => <span>{record.xxx}</span>,
},
{
title: 'xxxxxxxxx',
key: 'xxx',
render: (_text, record) => <div style={{ wordWrap: 'break-word', wordBreak: 'break-word' }}>{record.xxx}</div>,
},
];
在展示头的columns里增加render,经过加工后输出。