摘要: 1 function formatDate (val) { 2 // 格式化时间 3 let start = new Date(val) 4 let y = start.getFullYear() 5 let m = (start.getMonth() + 1) > 10 ? (start.getMonth() + 1) : '0' + (start.getMonth(... 阅读全文
posted @ 2017-07-28 16:58 豆浆油条123 阅读(8929) 评论(0) 推荐(0) 编辑