diff --git a/packages/shop/shopCar/index.vue b/packages/shop/shopCar/index.vue index f7ecc76e..42cd53d4 100644 --- a/packages/shop/shopCar/index.vue +++ b/packages/shop/shopCar/index.vue @@ -689,6 +689,8 @@ export default { return; } + // 根据是否是团购来设置goods_cate的值 + const goods_cate = that.is_group_buy ? 2 : 1; request(apiArr.deleteCar, "POST", { ids, goods_cate: goods_cate, diff --git a/pages/user/index.vue b/pages/user/index.vue index 1d3860d2..887297eb 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -230,12 +230,12 @@ export default { url: "/packages/storeManagement/index/index", isShow: uni.getStorageSync('is_merchant'), }, - { - image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/userPageGys.png", - name: "供应商端", - url: "", - isShow: uni.getStorageSync('is_worker'), - }, + // { + // image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/userPageGys.png", + // name: "供应商端", + // url: "", + // isShow: uni.getStorageSync('is_worker'), + // }, { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/userPageWuye.png", name: "物业端", @@ -334,12 +334,12 @@ export default { url: "/packages/storeManagement/index/index", isShow: loginRes.is_merchant, }, - { - image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/userPageGys.png", - name: "供应商端", - url: "", - isShow: loginRes.is_worker, - }, + // { + // image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/userPageGys.png", + // name: "供应商端", + // url: "", + // isShow: loginRes.is_worker, + // }, { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/userPageWuye.png", name: "物业端",