@ -62,8 +62,13 @@ const dropdownData = [
command: 'command3',
handleAction: async (row) => {
const { _id } = row
await deleteUser({ _ids: [_id] })
const res = await deleteUser({ _ids: [_id] })
const { msg } = res.data
await getTableData()
ElMessage({
message: msg,
type: 'success'
})
},
icon: 'Delete',
actionName: '删除'