-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
The click event of the dropdown-button in the layout will be triggered twice #5002
Comments
github-actions
bot
changed the title
在layout中的dropdown-button的点击事件会触发两次
The click event of the dropdown-button in the layout will be triggered twice
Dec 9, 2021
感觉是 vue 的bug |
不是冒泡的问题 |
组止冒泡的话是一个治标不治本的改法。但是具体为啥会有这个问题,水平有限,无法找到😕 |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
3.0.0-alpha.14
Environment
win10、chrome96、vue3.2.24
Reproduction link
Steps to reproduce
layout 中出现 layout-sider 时
What is expected?
按钮的点击事件应该只触发一次
What is actually happening?
dropdown-button的点击事件会触发两次
普通button是正常的,layout中不出现layout-sider时也是正常的
The text was updated successfully, but these errors were encountered: