vue在methods方法中阻止冒泡。

<button v-on:click.stop="handleClick($event, '想携带的参数')">Click Me</button>

methods: {
    
    
  handleClick(event, item) {
    
    
    // 阻止冒泡
    event.stopPropagation();

    // 执行其他操作
  }
}