@@ -328,8 +328,8 @@
layer.msg('请输入数字')
return false
}
+ console.log(111);
if (item.num + pass * type > 0) {
-
//修改商品数量
that.changeCartShop(item.cartId, item.num).then(function (data) {
console.log(data);
@@ -340,7 +340,6 @@
layer.msg(data.data.msg);
})
} else {
layer.msg('商品数量不可小于0')