- 博客(1)
- 收藏
- 关注
原创 记录一下之前遇见问题的解决方法
关于vant组件时间选择器获取时间的方法检查不足两位自动填充0 获取时间的方法 function getResult(time, type) { const date = new Date(time); switch (type) { case ‘datetime’: return date.toLocaleString(); case ‘date’: return date.toLocaleDa...
2019-09-03 14:42:26
127
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅