提交 0ab8f9b8 编写于 作者: D DCloud_LXH

fix(h5): picker props.end fixed #4075

上级 7cda68a2
......@@ -171,7 +171,7 @@ function getYearStartEnd (props) {
}
}
if (props.end) {
const _year = new Date(props.start).getFullYear()
const _year = new Date(props.end).getFullYear()
if (!isNaN(_year) && _year > end) {
end = _year
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册