elementUI中的Popconfirm 气泡确认框 对 确认按钮 绑定方法

<el-table-column fixed="right" label="操作" width="100">
          <template slot-scope="scope">
            <el-button @click="handleClick(scope.row)" type="text" size="small"
              >编辑</el-button
            >
            <el-popconfirm
              title="确定删除吗?"
              @confirm="del(scope.row)"
              @onConfirm="del(scope.row)"
            >
              <el-button type="text" size="small" slot="reference"
                >删除</el-button
              >
            </el-popconfirm>
          </template>
</el-table-column>

参考:

elementUI中的Popconfirm 气泡确认框 对 确认按钮 绑定方法_攻城狮plus的博客-CSDN博客
element-ui:el-popconfirm弹出框组件确认按钮触发方法绑定 - 灰信网(软件开发博客聚合)
https://www.jb51.net/article/257298.htm
 


版权声明:本文为u010856177原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。