From 47e86f543415585ab1e1b2b1ed1d98830817a1be Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 19 九月 2022 09:41:07 +0800
Subject: [PATCH] 2022.9.16
---
base/behaviors/b_loadingStatus.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/base/behaviors/b_loadingStatus.js b/base/behaviors/b_loadingStatus.js
index ad6bf06..086f1da 100644
--- a/base/behaviors/b_loadingStatus.js
+++ b/base/behaviors/b_loadingStatus.js
@@ -5,6 +5,7 @@
data: {
cPage: 1,
tPage: 1,
+ perPage: 10,
totalCount: 0,
loading: false,
needLoadMore: false
@@ -31,7 +32,7 @@
},
methods: {
_onReachBottom() {
- console.log('_onReachBottom');
+ // console.log('_onReachBottom');
let {cPage, tPage, loading} = this.data
if (!loading && cPage < tPage) {
if (typeof this.loadmore === 'function') {
@@ -59,6 +60,6 @@
if (typeof this.loadComplete === 'function') {
this.loadComplete()
}
- }
+ },
}
})
\ No newline at end of file
--
Gitblit v1.9.3