摘要: new Date(year, month, 0).getDate() // 获取月份的最后一天 let now = new Date() let year = now.getFullYear() let month = now.getMonth() - 1 function lastMonthday 阅读全文
posted @ 2023-11-29 21:31 张尊娟 阅读(54) 评论(0) 推荐(0) 编辑