摘要: 项目中常用的取时间的方法 util/date-util.js const oneDay = 86400000;//一天1000*60*60*24毫秒 //格式化日期 function formatDate(date,zw=false) { let y = date.getFullYear(), m = date.getMonth() + 1, d = date.getD... 阅读全文
posted @ 2018-10-08 08:39 conglvse 阅读(247) 评论(0) 推荐(0) 编辑