From 963a44a1238d2849509f45fd78df61d7063758cf Mon Sep 17 00:00:00 2001 From: sugar1569 Date: Fri, 12 Oct 2018 09:14:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=A7=E5=93=81=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=A1=B5=E5=8A=A0=E5=85=A5=E8=B4=AD=E7=89=A9=E8=BD=A6?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E5=8F=82=E6=95=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wap/view/first/store/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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({