const date = new Date()
const YY = date.getFullYear()
const MM = date.getMonth() + 1 < 10 ? '0' + (date.getMonth(
new Date()转 yyyy-mm-dd 日期个位数生成双数格式
最新推荐文章于 2024-05-07 13:10:50 发布
const date = new Date()
const YY = date.getFullYear()
const MM = date.getMonth() + 1 < 10 ? '0' + (date.getMonth(