柒零 1 year ago
parent
commit
a03732884f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      subpages/sleepReport/sleepReport.js

+ 3 - 0
subpages/sleepReport/sleepReport.js

@@ -138,6 +138,9 @@ Page({
    */
   onReachBottom() {
     console.log("上拉加载更多");
+    if (this.data.startdateStr) {
+      return
+    }
     var page = this.data.page;
     page += 1;
     this.setData({