antvis/G6
The issue has been closed
设置右键菜单的className不生效 #5901
plopen posted onGitHub
Describe the bug / 问题描述
我想实现节点的右键菜单,在初始化G6.Graph时,初始化了plugin插件有设置了contextmenu,在里面按照官网设置了className的样式,但是不生效,如下图:
Reproduction link / 重现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
如上图设置。
G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
Windows
Browser / 浏览器
Chrome
Additional context / 补充说明
No response