From 741d1f7b2e2ac1c3f89d80dfac7625e3427e2367 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 12 十月 2022 17:43:02 +0800
Subject: [PATCH] 2022.10.12
---
base/behaviors/b_loadingStatus.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/base/behaviors/b_loadingStatus.js b/base/behaviors/b_loadingStatus.js
index d96ae21..ebbd92d 100644
--- a/base/behaviors/b_loadingStatus.js
+++ b/base/behaviors/b_loadingStatus.js
@@ -1,5 +1,6 @@
/**
- * 鏁版嵁鍔犺浇鐩戝惉
+ * 鏁版嵁鍔犺浇鐘舵�佺洃鍚�
+ * @see './b_loadingToast.js' 鍜� '../../component/loadingstatus'
*/
module.exports = Behavior({
data: {
@@ -15,6 +16,7 @@
if (loading) {
this._loadStart()
this._loading()
+ setTimeout(() => { this.setData({loading: false}) }, 20000);
} else {
this._loadComplete()
}
@@ -32,7 +34,7 @@
},
methods: {
_onReachBottom() {
- console.log('_onReachBottom');
+ // console.log('_onReachBottom');
let {cPage, tPage, loading} = this.data
if (!loading && cPage < tPage) {
if (typeof this.loadmore === 'function') {
--
Gitblit v1.9.3