Skip to content

sub-menu组件popupClassName属性不生效 #3362

@JobinJia

Description

@JobinJia
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.0.0-rc.4

Environment

mac Os BigSur 11.0.1/ chrome 87.0.4280.88(正式版本) (x86_64)/ vue 3.0.4

Reproduction link

Edit on CodeSandbox

Steps to reproduce

sub-menu设置popupClassName后,对应的样式没有生效。

What is expected?

popupClassName能正常生效

What is actually happening?

简单的调试了一下,发现在组件内部,合并后的popupClassName为popupClassName: "ant-menu-dark test-class"
但实际在页面上并没有加载test-class样式。只有ant-menu-dark样式

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions