摘要: 问题 将字符串YYYYMMddHHmmss格式化成YYYY-MM-DD hh:mm:ss 解决方案 dateStr(dateStr) { var pattern = /(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})/; //将时间格式化成 yyyy-MM-dd 阅读全文
posted @ 2022-05-10 15:02 至安 阅读(1468) 评论(0) 推荐(0) 编辑