Commit 4fffb5b65964e2e25a46aa1352c64911fa6a9140
1 parent
88bd6f00
回退的时候,商品正常显示1
Showing
1 changed file
with
1 additions
and
1 deletions
pages/goods/goodsInfo/goodsInfo.js
@@ -911,7 +911,7 @@ Page({ | @@ -911,7 +911,7 @@ Page({ | ||
911 | 911 | ||
912 | //-- 要清空,因为有回退。优惠促的数组,购买数量要清理成1 -- | 912 | //-- 要清空,因为有回退。优惠促的数组,购买数量要清理成1 -- |
913 | this.data.cx_prom_group=[]; | 913 | this.data.cx_prom_group=[]; |
914 | - this.data.goodsInputNum=1; | 914 | + this.setData({goodsInputNum:1}); |
915 | 915 | ||
916 | var goods_list = null, | 916 | var goods_list = null, |
917 | th = this, | 917 | th = this, |