|
@@ -47,7 +47,6 @@ export struct RefreshView {
|
|
|
if (this.endY - this.startY < -100 && this._openMore) {
|
|
|
const v = this.data && (this.data.length % this.pageSize) === 0
|
|
|
if (v) {
|
|
|
-
|
|
|
const cTime = new Date().getTime()
|
|
|
// 2024.11.21 测试觉得刷新太多了,暂时改为1秒5间隔
|
|
|
if (cTime - this._oTime > 1500) {
|
|
@@ -55,7 +54,7 @@ export struct RefreshView {
|
|
|
this._oTime = cTime
|
|
|
}
|
|
|
} else {
|
|
|
- ToolsHelper.showMessage('没有更多数据了')
|
|
|
+ this.onLoadMore && ToolsHelper.showMessage('没有更多数据了')
|
|
|
}
|
|
|
}
|
|
|
break
|