vue获取最近7天时间;获取任意时间段时间
/** 获取当前7天时间 */ function fun_date(aa) {var date1 new Date(),month1 date1.getMonth() < 9 ? 0 (date1.getMonth() 1) : date1.getMonth() 1,day1 date1.getDate() < 10 ? 0 date1.getDate() : date1.getDate(),time1 date1.getFullYear() - month…
2025-01-26