|
@@ -253,7 +253,7 @@ Page({
|
|
|
},
|
|
|
success: function (res) {
|
|
|
|
|
|
- console.log(res);
|
|
|
+ // console.log(res);
|
|
|
//有此商品
|
|
|
if (res.data.total > 0) {
|
|
|
if (res.data.commodity.commodity_flag == '1') {//此商品为下架商品
|
|
@@ -2208,7 +2208,7 @@ Page({
|
|
|
if (id == 0) {//加入购物车
|
|
|
|
|
|
let num = parseInt(that.data.minNumber);
|
|
|
- consolle.log("商品数量",num)
|
|
|
+ // consolle.log("商品数量",num)
|
|
|
let oldNum = parseInt(that.data.cartNum);
|
|
|
let newNum = oldNum + num;
|
|
|
if (newNum > 99) {
|