element [bug report] the events event name in popconfirm document is inconsistent with the source code, so the event cannot take effect. It needs to be changed to onconfirm event according to the source code

lqfhib0f  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(97)

Element UI version

2.15.0

OS/Browsers version

Windows10 / 浏览器版本 87.0.4280.88(正式版本) (64 位)

Vue version

2.6.12

https://codepen.io/ziyoung/pen/rRK

Steps to reproduce

https://element.eleme.cn/#/zh-CN/component/popconfirm

What is Expected?

Popconfirm文档 Events事件名称 和源码不一致,导致事件无法生效,需要根据源码改成onConfirm事件

What is actually happening?

Popconfirm文档 Events事件名称 和源码不一致,导致事件无法生效,需要根据源码改成onConfirm事件

u0njafvf

u0njafvf1#

Translation of this issue:

Element UI version

2.15.0

OS/Browsers version

Windows10 / browser version 87.0.4280.88 (official version) (64 bit)

Vue version

2.6.12

https://codepen.io/ziyoung/pen/rRK

Steps to reproduce

https://element.eleme.cn/#/zh -CN/component/popconfirm

What is Expected?

The events event name in popconfirm document is inconsistent with the source code, so the event cannot take effect. It needs to be changed to onconfirm event according to the source code

What is actually happening?

The events event name in popconfirm document is inconsistent with the source code, so the event cannot take effect. It needs to be changed to onconfirm event according to the source code

siv3szwd

siv3szwd2#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

相关问题