|
@@ -110,7 +110,7 @@ function columns12(handlePay: (data: any) => void): NOVEL_DATA_API.ColumnsProps[
|
|
|
render: (a: number) => (<Statistic value={a || 0} precision={2} valueStyle={{ lineHeight }} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '回本率', dataIndex: 'roi', label: '基本信息', align: 'center', width: 90, default: 16, sorter: true,
|
|
|
+ title: '回本率', dataIndex: 'roi', label: '基本信息', align: 'center', width: 100, default: 16, sorter: true,
|
|
|
render: (a: number) => <Statistic value={a ? (a * 100) : 0} precision={2} valueStyle={!a ? { lineHeight } : a <= 0.08 ? { color: '#0f990f', fontWeight: 600, lineHeight } : a >= 1 ? { color: 'red', fontWeight: 600, lineHeight } : { lineHeight }} suffix="%" />
|
|
|
},
|
|
|
{
|