m-date-picker
m-date-picker copied to clipboard
minuteStep设置为0或者60应不显示分钟选择列
const minuteLegal = minuteStep > 0 && minuteStep < 60; var cols = [{ key: 'hours', props: { children: hours } }].concat(minuteLegal ? { key: 'minutes', props: { children: minutes } } : [], use12Hours ? [{ key: 'ampm', props: { children: [{ value: '0', label: locale.am }, { value: '1', label: locale.pm }] } }] : []); return { cols: cols, selMinute: selMinute }; 设置为60时初始的分钟列显示有问题,我认为对于非法值应该过滤掉