Skip to content

Bug:TreeFilter 组件handleNodeClick和handleCheckChange 会同时触发。 #544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tlerbao opened this issue Apr 6, 2025 · 1 comment

Comments

@tlerbao
Copy link

tlerbao commented Apr 6, 2025

TreeFilter 组件 handleNodeClick和handleCheckChange 会同时触发,即使设置成单选的情况下。

CleanShot.2025-04-06.at.20.21.33.mp4
Image
@mnn1127
Copy link

mnn1127 commented Apr 8, 2025

element最新版的问题,2.96版本往上就会有这个问题,跟作者无关。最下一级点击,会触发多选框的选中事件,饿了么官方已经修复了,应该还没正式发布。或者给el-tree加一个check-on-click-leaf=‘false’

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants