zmc
2023-11-03 2fd7b502110d916d7bc43ab1e88f6586fa2cd3c3
src/utils/common.js
@@ -21,7 +21,6 @@
        const year2 = date2.getFullYear();
        const month2 = date2.getMonth();
        const day2 = date2.getDate();
        console.log(month1, month2);
  
        // 判断两个日期是否相差一个月
        if (year1 === year2) {