소스 검색

评价点击穿透

gcz 2 년 전
부모
커밋
447f8f34a0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      shopping/order.vue

+ 2 - 2
shopping/order.vue

@@ -46,12 +46,12 @@
 									</view>
 								</view>
 								<view class="comment-btn" v-if="item.status==3">
-									<text class="btn green" @click="comment(item.id,goods.id,goods.goodsId)">
+									<text class="btn green" @click.stop="comment(item.id,goods.id,goods.goodsId)">
 										评价
 									</text>
 								</view>
 								<view class="comment-btn" v-if="item.status==6">
-									<text class="btn" @click="viewComment(goods.id,goods.goodsId,goods)">
+									<text class="btn" @click.stop="viewComment(goods.id,goods.goodsId,goods)">
 										查看评价
 									</text>
 								</view>