|
@ -115,7 +115,7 @@ function Management(props) { |
|
|
render: (dom, record) => ( |
|
|
render: (dom, record) => ( |
|
|
<> |
|
|
<> |
|
|
{ |
|
|
{ |
|
|
record.publish_time && moment().isAfter(moment(record.publish_time)) |
|
|
record.publish_time && moment(moment().format('YYYY-MM-DD')).isAfter(moment(record.publish_time)) |
|
|
? <div style={{ color: '#fb3838' }}>已延期</div> : <div style={{ color: '#23d96e' }}>未延期</div> |
|
|
? <div style={{ color: '#fb3838' }}>已延期</div> : <div style={{ color: '#23d96e' }}>未延期</div> |
|
|
} |
|
|
} |
|
|
</> |
|
|
</> |
|
|