code: function addDayOfWeek(days, props, sure = true) {
    if (isArray(days)) {
      days.forEach((day) => {
        const dayNew = day;
        const date = new Date(numToDate(day.value));
        if (sure) {
          dayNew.text = `${dateFormat(date, 'YYYY/MM/DD')} ${locale[props.locale].week[date.getDay()]}`;
        } else {
          dayNew.text = dateFormat(date, 'YYYY/MM/DD');
        }
      });
      return;
    }
    const date = new Date(numToDate(days.value));
    if (sure) {
      days.text = `${dateFormat(date, 'YYYY/MM/DD')} ${locale[props.locale].week[date.getDay()]}`;
    } else {
      days.text = dateFormat(date, 'YYYY/MM/DD');
    }
  }
docs: sure 可以控制是否添加周"几" 根据日期获取一周中的一天，默认是 true
  @param {*} days
  @param {*} props
  @param {*} sure
   /* eslint-disable no-param-reassign