Skip to content

When using prefixCls to modify the class name, normal components can be modified, but the message and modal are called through static methods, and the class name still starts with ant #5020

@wishong

Description

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

Version

2.2.8

Environment

vue3 antd2.2.8

Reproduction link

https://github.com/vueComponent/ant-design-vue

Steps to reproduce

通过prefixCls修改类名,其他组件正常修改。
message和modal静态方法调用,如message.success等

What is expected?

出现的message、modal类名仍为.ant开头。
但通过组件调用方式的Modal是已修改的类名。

What is actually happening?

message类名被一并修改

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