licp
2024-04-18 caba724b7025dd8801ed590bed3d8d56579d6a8c
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) {