Commit bcbae44e by liang ce

Merge branch 'dev' of http://gitlab.roboming.com/fengzhaoyu/schedule into dev

parents 0a4eed23 7dcbc113
......@@ -188,10 +188,10 @@ Component({
const min = endDate.getMinutes();
endDate.setMinutes(min + 30);
// 赋值
if (this.props.startTime) {
if (this.props.startTime && new Date(this.props.startTime).getFullYear()) {
startDate = new Date(this.props.startTime);
}
if (this.props.endTime) {
if (this.props.endTime && new Date(this.props.endTime).getFullYear()) {
endDate = new Date(this.props.endTime);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment