Administrator 4 năm trước cách đây
mục cha
commit
42031e4faa

+ 0 - 3
components/cm-module/productDetails/secondRecommend.vue

@@ -50,9 +50,6 @@
 					if( response.data && response.data.length > 0){
 						this.isEmpty = false
 						this.recommendList = response.data
-						// for (var i = 0, j = response.data.length; i < j; i += this.pageSize) {
-						// 	this.recommendList.push(response.data.slice(i, i + this.pageSize));
-						// }
 					}else{
 						this.isEmpty = true
 					}

+ 3 - 1
second/pages/product/product-details.vue

@@ -15,7 +15,6 @@
 				<text class="line"></text>
 			</view>	
 		</view>
-		
 		<tui-skeleton v-if="skeletonShow" backgroundColor="#fafafa" borderRadius="10rpx" :isLoading	="true" :loadingType="5"></tui-skeleton>
 		<view class="container-product tui-skeleton">
 			<view class="container-product-main">
@@ -230,6 +229,9 @@
 					this.product.imageList.forEach(item =>{
 						this.productImage.push(item);
 					})
+					setTimeout(()=>{
+						this.getSectionProps();
+					},2000)
 					this.isRequest = true
 				}).catch(error =>{
 					this.$util.msg(error.msg,2000);