zhuxinbo 5 년 전
부모
커밋
02415965a0
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/utils/getDay.js

+ 3 - 1
src/utils/getDay.js

@@ -1,5 +1,5 @@
 
-
+//获取某一天前的日期
 function getDay(day) {
     var today = new Date()
   
@@ -53,6 +53,8 @@ Date.prototype.format = function (fmt) {
     return fmt;
   }
 
+
+  //获取某一月份 周五到周四的日期
 export  function allWeeks(now_month) {
     let week_array = [];
     let today = new Date(Date.parse(now_month));