摘要: 本项目采用的纯原生js的写法 引入js Date配置化diamante Date.prototype.format = function(fmt) { var o = { "M+" : this.getMonth()+1, //月份 "d+" : this.getDate(), //日 "h+" : 阅读全文
posted @ 2022-05-13 15:22 勇不停歇 阅读(33) 评论(0) 推荐(0)