|
@@ -41,12 +41,6 @@ export struct RefreshView {
|
|
this._openMore = this.data && this.lastNum >= this.data.length && !this.isLoading
|
|
this._openMore = this.data && this.lastNum >= this.data.length && !this.isLoading
|
|
this.startY = e1.y
|
|
this.startY = e1.y
|
|
break
|
|
break
|
|
- // case TouchType.Move:
|
|
|
|
- // this.endY = e1.y
|
|
|
|
- // if (this.endY - this.startY < -100) {
|
|
|
|
- // this.loadMore&&this.loadMore()
|
|
|
|
- // }
|
|
|
|
- // break
|
|
|
|
case TouchType.Up:
|
|
case TouchType.Up:
|
|
this.endY = e1.y
|
|
this.endY = e1.y
|
|
if (this.endY - this.startY < -100 && this._openMore) {
|
|
if (this.endY - this.startY < -100 && this._openMore) {
|