code: function getOptions(value, props) {
    let { minDate, maxDate } = props;
    const { disabledTime, disabledDate } = props;
    const { minuteStep } = props;
    minDate = parseDate(minDate);
    maxDate = parseDate(maxDate);
    if (maxDate <= minDate) {
      error(' Datetime： props maxDate must be greater than minDate ');
      return [];
    }
    minDate = new Date(minDate);
    maxDate = new Date(maxDate);
    const currentValue = new Date(parseDate(value));
    const dayYear = getDaysByYear({
      year: currentValue.getFullYear(), minDate, maxDate, disabledDate,
    });
    const disabled = typeof disabledTime === 'function' ? disabledTime() : {};
    const disHours = typeof disabled.disabledHours === 'function' ? disabled.disabledHours() : undefined;
    const disMinutes = typeof disabled.disabledMinutes === 'function' ? disabled.disabledMinutes() : undefined;
    const disSeconds = typeof disabled.disabledSeconds === 'function' ? disabled.disabledSeconds() : undefined;
  
    const options = [
      makeRange(minDate.getFullYear(), maxDate.getFullYear()),
      // makeRange(1, 12).map(v => ({ text: `${v}`, value: v - 1 })),
      getMonthsByYear({ year: currentValue.getFullYear(), minDate, maxDate }),
      getDaysByMonth({
        minDate, maxDate, year: currentValue.getFullYear(), month: currentValue.getMonth(),
      }),
      locale[props.locale].noon,
      makeRange(0, 12),
      makeRange(0, 23, 1, disHours),
      makeRange(0, 59, minuteStep, disMinutes),
      makeRange(0, 59, 1, disSeconds),
      dayYear,
      dayYear,
    ];
    return options;
  }
docs: 获取 options
  @param {*} value
  @param {*} props