lilei 4 anni fa
parent
commit
0668461568
2 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 1 1
      App.vue
  2. 3 1
      pages/cart/cart.vue

+ 1 - 1
App.vue

@@ -1,5 +1,5 @@
 <script>
-	// const uat_URL = 'https://carwash.test.zyucgj.com/gc-shop/' // 预发布
+	// const uat_URL = 'https://lese.test.sxzxyj.net/gc-shop/' // 预发布
 	const uat_URL = 'http://192.168.16.102:8302/gc-shop/' // 本地
 	const pro_URL = 'https://carwash.zyucgj.com/gc-shop/'  // 生产
 	const buildType = 0 // 打包环境对应类型,1 生产 0 预发布

+ 3 - 1
pages/cart/cart.vue

@@ -177,7 +177,7 @@
 					ret = ret + good.goods.sellGold
 				})
 				console.log(ret , goldLimit)
-				return ret >= goldLimit
+				return !this.isEdit ? ret >= goldLimit : true
 			},
 			// 每个分类的全选
 			goodsClasChange(e){
@@ -247,6 +247,8 @@
 			// 编辑购物车
 			editCart(){
 				this.isEdit = !this.isEdit
+				this.checkAllChange({value:false})
+				this.checkAll = false
 			},
 			// 立即下单
 			toOrder(){