代码如下:
remove(index){
console.log(index)
this.tableData.splice(index,1)
},
<el-table-column>
<template slot-scope="scope">
<el-button type="danger" size="mini" icon="el-icon-delete" @click="remove(scope.$index)"></el-button>
</template>
</el-table-column>