浏览代码

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

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("-");