salt-ui / saltui

MIT License
238 stars 64 forks source link

DatetimeField 组件属性 minDate 设置 `new Date(2019, 9, 25).getTime()` 抛出异常 #386

Closed wisetc closed 5 years ago

wisetc commented 5 years ago

这是一个

SaltUI 版本

4.6.8

复现步骤

DatetimeField 组件属性 minDate 设置 new Date(2019, 9, 25).getTime()

import { DatetimeField as Field } from 'saltui';

image

组件抛出异常,

image

疑似,处理天的时候,输出了 undefined.