摘要: 原来:2021-2-21 2:9:0 要实现的效果:2021-02-21 02:09:00 const date = new Date() const today = date.getFullYear()+'-'+('0'+(date.getMonth()+1).toString()).slice( 阅读全文