JS怎么获取系统时间上一个月份的天数var getLastDays = function(){ var now = new Date now.setMonth(now.getMonth() - 1) now.setDate(1) var next = 2023-03-11JavaScript210