this.submitForm.setFieldsValue({
time: [moment(this.startTime, 'YYYY-MM-DD HH:mm:ss'), moment(this.endTime, 'YYYY-MM-DD HH:mm:ss')]
})
this.submitForm.setFieldsValue({
time: [moment(moment().startOf('day'), this.dateFormat), moment(moment().endOf('day'), this.dateFormat)]
})
网友评论