Commit 77baeb9eeeb67431b9ba234025521f0f89da07c9
1 parent
9c7af2e6
解决事件穿透问题
Showing
1 changed file
with
2 additions
and
2 deletions
src/components/giftGivingItem/giftGivingItem.vue
| ... | ... | @@ -44,8 +44,8 @@ |
| 44 | 44 | <!-- 按钮 --> |
| 45 | 45 | <div class="btn_list"> |
| 46 | 46 | <div class="box"> |
| 47 | - <div @click="cancelPayment(item)" class="btn">取消支付</div> | |
| 48 | - <div @click="jumpToPay(item)" class="active">立即支付</div> | |
| 47 | + <div v-on:click.stop="cancelPayment(item)" class="btn">取消支付</div> | |
| 48 | + <div v-on:click.stop="jumpToPay(item)" class="active">立即支付</div> | |
| 49 | 49 | </div> |
| 50 | 50 | </div> |
| 51 | 51 | </div> | ... | ... |