|
|
@@ -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
|
|
|
}
|