diff --git a/src/main/ets/view/refresh/RefreshView.ets b/src/main/ets/view/refresh/RefreshView.ets index 4de4f8a..0d25a11 100644 --- a/src/main/ets/view/refresh/RefreshView.ets +++ b/src/main/ets/view/refresh/RefreshView.ets @@ -151,12 +151,12 @@ export struct RefreshView { break case TouchType.Up: this.endY = e1.y - if (this.endY - this.startY < -200 && this._openMore) { + if (this.endY - this.startY < -100 && this._openMore) { const v = this.data && (this.data.length % this.pageSize) === 0 if ((v && this.canLoadMore == 'default') || this.canLoadMore == 'allow') { const cTime = new Date().getTime() // 2024.11.21 测试觉得刷新太多了,暂时改为1秒5间隔 - if (cTime - this._oTime > 1500) { + if (cTime - this._oTime > 500) { this.onLoadMore && this.onLoadMore(Math.floor(this.data.length / this.pageSize)) this._oTime = cTime }