源代码:
<template slot-scope="scope">
<el-button type="warning" @click="edit(scope.row)">编辑</el-button>
<el-button type="danger" @click="delete(scope.row)">删除</el-button>
</template>
更改后:
<template slot-scope="scope">
<el-button type="warning" @click="edit(scope.row)">编辑</el-button>
<el-button type="danger" @click="showDelete(scope.row)">删除</el-button>
</template>
具体原因:
可能是内部的bug