Popconfirm 的属性与 Popover 很类似,因此对于重复属性,请参考 Popover 的文档,在此文档中不做详尽解释。

    在 Popconfirm 中,只有 属性可用,content 属性不会被展示。

    1. <template>
    2. <el-popconfirm
    3. cancel-button-text='不用了'
    4. icon-color="red"
    5. >
    6. <el-button slot="reference">删除</el-button>