<el-table-column label="操作">
<template slot-scope="scope">
<el-button @click.native.stop="edit(scope.row)" type="success" size="small">编辑</el-button>
</template>
</el-table-column>
如上图所示,给@click加上 .native.stop 即可
<el-table-column label="操作">
<template slot-scope="scope">
<el-button @click.native.stop="edit(scope.row)" type="success" size="small">编辑</el-button>
</template>
</el-table-column>
如上图所示,给@click加上 .native.stop 即可