提交 13d96020 编写于 作者: DCloud_JSON's avatar DCloud_JSON 提交者: Gitee

!75 update docs/component/picker.md.

Merge pull request !75 from nan_hao/N/A
......@@ -218,7 +218,7 @@ export default {
} else if (type === 'end') {
year = year + 2;
}
month = month > 9 ? month : '0' + month;;
month = month > 9 ? month : '0' + month;
day = day > 9 ? day : '0' + day;
return `${year}-${month}-${day}`;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册