courseware
杨树明 5 years ago
parent 4f770b7e83
commit d33cc2dbf4

@ -948,7 +948,7 @@ class College extends Component {
<div className="yslstatistic-base-item-labels">
{
shixun_time || shixun_time === 0 ?
<div className="yslstatistic-base-item-labelsp">{shixun_time}<span className="yslstatistic-base-item-labelsspan"></span></div>
<div className="yslstatistic-base-item-labelsp">{shixun_time}<span className="yslstatistic-base-item-labelsspan">分钟</span></div>
:
<Spin/>
}

@ -271,7 +271,7 @@ const CollectionCreateForm = Form.create({ name: 'form_in_modal' })(
onChange={date => this.handleChangestart_time(date)}
showTimeSelect
showTimeSelectOnly
timeIntervals={1}
timeIntervals={10}
timeCaption="Time"
timeFormat="HH:mm"
dateFormat="HH:mm"
@ -295,7 +295,7 @@ const CollectionCreateForm = Form.create({ name: 'form_in_modal' })(
onChange={date => this.handleChangeend_time(date)}
showTimeSelect
showTimeSelectOnly
timeIntervals={1}
timeIntervals={10}
minTime={this.state.dateString===moment().format('YYYY-MM-DD')||this.state.dateString===null?new Date():false}
maxTime={this.state.dateString===moment().format('YYYY-MM-DD')||this.state.dateString===null?moment().endOf('day').toDate():false}
timeCaption="Time"

Loading…
Cancel
Save