Эх сурвалжийг харах

购物车图标同步显示

LXT-NJ\Admin 1 жил өмнө
parent
commit
d8a00a1bf1
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      pages/shop/index.vue

+ 2 - 2
pages/shop/index.vue

@@ -182,8 +182,7 @@ export default {
 					})
 				}
 			})
-		},
-		
+		},		
 		// 热门、折扣
 		changeTab(activeIndex){
 			let that = this;
@@ -307,6 +306,7 @@ export default {
 				}).then(res => {
 					if (res.data.code == 200) {
 						that.$refs.toast.show({model:'success',label:res.data.msg})
+						that.getGwc()
 					}else{
 						that.$refs.toast.show({model:'error',label:res.data.msg})
 					}