这个就是需要的popcofrim
<Popconfirm
title="确定删除么"
onConfirm={() => {
confirm(record.id);
}}
onCancel={cancel}
okText="确定"
cancelText="取消"
>
<a>Delete</a>
</Popconfirm>