value
2024-05-16 083c818af77d33d619dba3dc20f94e996225a1c7
src/util/date.js
@@ -1,8 +1,7 @@
/**
 * 获取年月日
 */
export function getYearAndMonthAndDays() {
  const date = new Date()
export function getYearAndMonthAndDays(date=new Date()) {
  let year = date.getFullYear()
  let month = date.getMonth() + 1
  if (month < 10) {