code: function getDaysByYear({
    minDate, maxDate, year,
  }) {
    const days = [];
    const maxYear = new Date(maxDate).getFullYear();
    const minYear = new Date(minDate).getFullYear();
    const arr = [];
    const start = year - 1 >= minYear ? year - 1 : minYear;
    for (let i = 0; i <= 2; i++) {
      if (i + start <= maxYear) {
        arr.push(start + i);
      }
    }
    arr.forEach((item) => {
      for (let i = 1; i < 13; i += 1) {
        getDaysByMonth({
          minDate, maxDate, year: item, month: i - 1,
        }).forEach((el) => {
          days.push(`${item}${addZero(i)}${addZero(el.value)}` - 0);
        });
      }
    });
    return days;
  }
docs: 根据最大时间值 最小时间值 求出上下各的天数
  @param {*} param0
  @returns days<array>