bug fix | popconfirm @onConfirm to @confirm

https://github.com/ElemeFE/element/pull/20240

@onConfirm 属性已经去掉了,所以在删除数据集的时候没有作用

Signed-off-by: lengleng <wangiegie@gmail.com>
lengleng 2 years ago committed by Gitee
parent 1e4c221bcb
commit a7a17fe981
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -25,7 +25,7 @@
<el-collapse-item :title="item.setName" :name="item.id"> <el-collapse-item :title="item.setName" :name="item.id">
<el-popconfirm <el-popconfirm
:title="'确定删除' + item.setName + '吗?'" :title="'确定删除' + item.setName + '吗?'"
@onConfirm="del(item)" @confirm="del(item)"
> >
<el-button <el-button
slot="reference" slot="reference"

Loading…
Cancel
Save