摘要: getCurrentDate() { let date = new Date() let year = date.getFullYear() let month = String(date.getMonth() + 1).padStart(2, '0') // 月份从0开始,需要加1,并补零 let 阅读全文
posted @ 2025-03-04 08:44 dmyling 阅读(12) 评论(0) 推荐(0)