@ -520,7 +520,7 @@ export default {
if (planBeginTime != null && planEndTime != null) {
item.duration = this.calculateDaysDifference(planBeginTime, planEndTime);
}
if (this.arrangeType === 1 && planEndTime != null){
if (this.arrangeType === 1 && planEndTime != null && children != null) {
const date = new Date(planEndTime);
date.setDate(date.getDate() + 1);
children.forEach(item => {