Browse Source

Signed-off-by: liuboyan <632697560@qq.com>
bug

liuboyan 4 years ago
parent
commit
9b582cc2df
3 changed files with 8 additions and 2 deletions
  1. 3 0
      pages/index/index.vue
  2. 3 0
      pages/user/index.vue
  3. 2 2
      pagesGood/evaluateList.vue

+ 3 - 0
pages/index/index.vue

@@ -111,6 +111,9 @@
 		onPullDownRefresh() {
 			this.getPreferGoodsList()
 			this.getBaseInfo()
+			setTimeout(() => {
+				uni.stopPullDownRefresh();
+			}, 500)
 		},
 		methods: {
 			//  查询数据

+ 3 - 0
pages/user/index.vue

@@ -100,6 +100,9 @@
 		},
 		onPullDownRefresh() {
 			this.getBaseData()
+			setTimeout(() => {
+				uni.stopPullDownRefresh();
+			}, 500)
 		},
 		methods: {
 			//  获取全部数据

+ 2 - 2
pagesGood/evaluateList.vue

@@ -43,12 +43,12 @@
 			this.goodId = options.goodId
 		},
 		onShow() {
-			this.getMessageList('refresh')
+			this.getMessageList()
 		},
 		onPullDownRefresh() {
 			this.pageIndex = 1
 			this.assessList = []
-			this.getMessageList()
+			this.getMessageList('refresh')
 		},
 		methods: {
 			//  懒加载