lilei 8 months ago
parent
commit
99cb6279d7
1 changed files with 2 additions and 3 deletions
  1. 2 3
      pagesB/cart/index.vue

+ 2 - 3
pagesB/cart/index.vue

@@ -168,6 +168,7 @@
 				uni.navigateBack()
 			},
 			pageInit(){
+				this.allChecked = false
 				this.pageNo = 1
 				this.list = []
 				this.getRow()
@@ -250,9 +251,7 @@
 				  
 				  // 默认全选
 				  if(_this.pageNo == 1){
-					  _this.$nextTick(()=>{
-						  _this.chooseAll()
-					  })
+					  _this.chooseAll()
 				  }
 				  // 判断是否最后一页
 				  const maxPages = Math.ceil(_this.total / _this.pageSize)