请教一下,点击表格行会触发单元格内写的点击事件是什么原因呢?
@click.stop阻止事件冒泡
触发行点击事件的时候把不想被触发的列事件通过判断隔离出去
handleCurrentChange(row,column){ if(column.label !== "患者列表"){ console.log("执行要操作的动作") } }