ElemeFE / ElemeFE/element

[Bug Report] Popconfirm 气泡确认框 文档 Events 事件内容标注错误

Open
#23,038 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

[文档链接](https://element.eleme.cn/2.15/#/zh-CN/component/popconfirm)

两个回调事件文档标注为:
confirm
cancel

实际的事件名是:
onConfirm
onCancel

![Image](https://github.com/user-attachments/assets/4aa2ba17-d5d1-4aa7-a459-d335c06ea71f)

![Image](https://github.com/user-attachments/assets/ebfd4a4e-f16b-4833-8739-a212c3cc2b77)

测试代码和打印如下:

![Image](https://github.com/user-attachments/assets/cbbe54d5-9d3a-4c90-8765-eddd074db76a)

![Image](https://github.com/user-attachments/assets/d33b9fbe-45e7-4d6d-b938-82c2e2c285a3)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.