{ title: formatMessage({ id: 'OPERATE', defaultMessage: '操作' }), dataIndex: 'id', key: 'id', ellipsis: true, render: v => { const obj = { children: <div className={styles.iconStyle}> {/* <MyIcon type="iconfile-copy" title={formatMessage({ id: 'COMMON_EDIT', defaultMessage: '编辑' })} /> */} <Popconfirm title={formatMessage({ id: 'CONFIRM_DELETION', defaultMessage: '确认删除?' })} onConfirm={() => { singleListDelete(v); }} > <MyIcon type="icondelete" title={formatMessage({ id: 'COMMON_DELETE', defaultMessage: '删除' })} /> </Popconfirm> </div>, props: { rowSpan: 1, colSpan: 1, id: 'lastRowSpan', }, }; return obj; }, },