new Date(new Date().getFullYear(), new Date().getMonth()+1, 0).getDate();
js获取当月天数
最新推荐文章于 2023-05-30 17:23:56 发布
new Date(new Date().getFullYear(), new Date().getMonth()+1, 0).getDate();