Browse Source

延期规则:发布日期当天不算延期

master
Julin 1 year ago
parent
commit
ec3e179512
  1. 2
      web/client/src/sections/homePage/containers/index.js

2
web/client/src/sections/homePage/containers/index.js

@ -115,7 +115,7 @@ function Management(props) {
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>
}
</>

Loading…
Cancel
Save