摘要: 1. 转换为:2020-7-9 var d = new Date() function date(date) { var nowdate = new Date(date).toLocaleDateString().replace(/\//g, '-') return nowdate } consol 阅读全文
posted @ 2020-07-09 11:33 啦咯 阅读(214) 评论(0) 推荐(0) 编辑