摘要: 1.前端时间格式化 JS 版时间格式化 1 function dateFormat(fmt, date) { 2 let ret; 3 const opt = { 4 "Y+": date.getFullYear().toString(), // 年 5 "m+": (date.getMonth() 阅读全文
posted @ 2021-08-31 11:33 乃颜先生 阅读(1855) 评论(0) 推荐(1) 编辑