Skip to content
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

a-tab-pane如何设置contextmenu事件以及如何给a-tab-pane设置类名? #3422

Open
1 task
WANG-Fan0912 opened this issue Jan 14, 2025 · 0 comments
Open
1 task

Comments

@WANG-Fan0912
Copy link

基本信息

  • 依赖包名 及 版本: @arco-design/[email protected]
  • 框架版本: vue3
  • 浏览器版本: chrome131.0.0.0

预期结果

允许在a-tab-pane上设置contextmenu事件用来给特殊tab做事件处理, 允许给a-tab-pane添加class类名,用来对特殊tab标签做样式处理

复现步骤

当前使用a-tab-pane构建了一个标签栏组件,但是我无法对具体的某一项设置右键菜单,如果我能够对某一具体tab添加contextmenu事件和class类名就可以针对当前tab做特殊右键弹出框功能。
目前在a-tab-pane上设置的contextmenu无法触发,设置class类名会被覆盖

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

1 participant