Bläddra i källkod

修改【ID1005556】
【用户-乐豆明细】我的乐豆查看明细,数据较多时,上拉提示已经到底,仍可上拉

1004749546@qq.com 4 år sedan
förälder
incheckning
a9cb0e5cc6
1 ändrade filer med 1 tillägg och 11 borttagningar
  1. 1 11
      pages/userCenter/ldDetailed.vue

+ 1 - 11
pages/userCenter/ldDetailed.vue

@@ -130,19 +130,9 @@
 						this.listdata = []
 						this.total = 0
 					}
-					this.status = "loadmore"
+					this.status = "nomore"
 				})
 			},
-			// scroll-view到底部加载更多
-			onreachBottom() {
-				if(this.listdata.length < this.total){
-					this.pageNo += 1
-					this.searchHandle()
-				}else{
-					uni.showToast({ title: '已经到底了', icon: 'none' })
-					this.status = "nomore"
-				}
-			}
 		}
 	}
 </script>