(vue) el-table table delete operation plus bubble confirmation box
Effect:
code:
<el-table-column fixed="right" label="操作" width="120">
<template slot-scope="scope">
<el-popconfirm title="确定移除吗?" @confirm="deleteRow(scope.row.name)">
<el-button slot="reference" type="text">移除</el-button>
</el-popconfirm>
</template>
</el-table-column>