柒零 1 anno fa
parent
commit
a03732884f
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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({