code: function formatFromProps(arr, props) {
    const { columns } = props;
    const displayList = [];
    for (let i = 0; i < columns.length; i += 1) {
      if (colFlags.indexOf(columns[i]) !== -1) {
        displayList.push(arr[colFlags.indexOf(columns[i])]);
      }
      if (columns[i] === 'YMDW') {
        addDayOfWeek(displayList[i], props);
      }
      if (columns[i] === 'YMD') {
        addDayOfWeek(displayList[i], props, false);
      }
    }
    return displayList;
  }
docs: /* eslint-enable no-param-reassign 
  根据 props columns 计算 slot list
  @param {*} arr
  @param {*} props