浏览代码

bug 修复

lilei 4 年之前
父节点
当前提交
e743017504
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/uni-coods/uni-coods.vue

+ 1 - 1
components/uni-coods/uni-coods.vue

@@ -18,7 +18,7 @@
 					<text>{{item.sellGold}}</text>
 					<text>{{item.sellGold}}</text>
 					<u-image mode="scaleToFill" width="40rpx" height="40rpx" src="/static/ledou.png"></u-image>
 					<u-image mode="scaleToFill" width="40rpx" height="40rpx" src="/static/ledou.png"></u-image>
 				</view>
 				</view>
-				<view @click.stop="addCart(item)" v-if="item.inventoryQty > 0">
+				<view @click="addCart(item)" v-if="item.inventoryQty > 0">
 					<u-image mode="scaleToFill" width="45rpx" height="45rpx" src="/static/addCart.png"></u-image>
 					<u-image mode="scaleToFill" width="45rpx" height="45rpx" src="/static/addCart.png"></u-image>
 				</view>
 				</view>
 			</view>
 			</view>