소스 검색

日期范围修改不拉取更新记录

xiaohaizhao 2 년 전
부모
커밋
df6bf39cef
1개의 변경된 파일2개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 5
      packageA/clockIn/index.js

+ 2 - 5
packageA/clockIn/index.js

@@ -28,7 +28,6 @@ Page({
         this.querySignIn(year + '-' + month + '-' + day) */
     },
     isShowAtt(e) {
-        console.log(e)
         const {
             index,
             item
@@ -114,22 +113,20 @@ Page({
             month,
             day
         } = detail.curr;
-
         this.checkIn({
             year,
             month
         });
-
         this.setData({
             list: []
         })
-
         month = month < 10 ? "0" + month : month;
         day = day < 10 ? "0" + day : day;
-        this.querySignIn(year + '-' + month + '-' + day)
+        // this.querySignIn(year + '-' + month + '-' + day)
     },
     /* 更新日期数据 */
     toDate(date) {
+        console.log("更新日期数据", date)
         this.selectComponent("#calendar").toDate(date);
         this.querySignIn(date);
         let a1 = date.split("-");