update src/views/system/article/manager.vue.

新语法中popconfirm使用confirm绑定了。

Signed-off-by: 当当 <4019449@qq.com>
This commit is contained in:
当当 2022-12-01 01:59:47 +00:00 committed by Gitee
parent 55b72b544d
commit 7535203cf2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -59,7 +59,7 @@
<template #default="scope">
<el-button text size="small" icon="view" @click="handleView(scope.row)">查看</el-button>
<el-button text size="small" icon="edit" @click="handleUpdate(scope.row)" v-hasPermi="['system:article:update']">编辑</el-button>
<el-popconfirm title="确定删除吗?" @onConfirm="handleDelete(scope.row)" style="margin-left: 10px">
<el-popconfirm title="确定删除吗?" @confirm="handleDelete(scope.row)" style="margin-left: 10px">
<template #reference>
<el-button text size="small" icon="delete" v-hasPermi="['system:article:delete']">删除</el-button>
</template>