摘要: getWeekNo() { let d1 = new Date(); let d2 = new Date(); d2.setMonth(0); d2.setDate(1); let rq = d1 - d2; let days = Math.ceil(rq / (24 * 60 * 60 * 100 阅读全文
posted @ 2021-10-27 17:06 去你的未来 阅读(12) 评论(0) 推荐(0) 编辑
摘要: getTime(week) { let time; let year = new Date().getFullYear(); let d = new Date(year, 0, 1); while (d.getDay() != 1) { d.setDate(d.getDate() + 1); } l 阅读全文
posted @ 2021-10-27 17:05 去你的未来 阅读(38) 评论(0) 推荐(0) 编辑