diff --git a/application/wap/view/first/store/index.html b/application/wap/view/first/store/index.html index a2f9b9d6..cd95242f 100644 --- a/application/wap/view/first/store/index.html +++ b/application/wap/view/first/store/index.html @@ -158,7 +158,7 @@ var checkedAttr = productValue[values.sort().join(',')]; storeApi.setCart({ cartNum:cartNum, - uniqueId:checkedAttr === undefined ? '' : checkedAttr.unique, + uniqueId:checkedAttr === undefined ? 0 : checkedAttr.unique, productId:product.id },function () { $h.pushMsg('加入购物车成功!'); @@ -169,7 +169,7 @@ var checkedAttr = productValue[values.sort().join(',')]; storeApi.goBuy({ cartNum:cartNum, - uniqueId:checkedAttr === undefined ? '' : checkedAttr.unique, + uniqueId:checkedAttr === undefined ? 0 : checkedAttr.unique, productId:product.id },function(cartId){ location.href = $h.U({