摘要: getNowTime(time) { const now = time const year = now.getFullYear() // 得到年份 let month = now.getMonth() + 1 // 得到月份 let date = now.getDate() // 得到日期 let 阅读全文
posted @ 2021-03-29 17:38 未几 阅读(67) 评论(0) 推荐(0)