Bug - ConfigProvider 组件 设置了 prefixcls后 Modal 内 prefixcls 未更改 。4.2.1版本
changjiaqio opened this issue · 6 comments
changjiaqio commented
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
undefined
Environment
vue - 3.4.23 和 antd-desinger-vue - 4.2.0
Reproduction link
https://www.antdv.com/components/config-provider-cn
Steps to reproduce
main.ts内
ConfigProvider.config({
prefixCls: 'blr',
});
根节点内
ConfigProvider.config({
prefixCls: 'blr',
});
根据less-loader 修改 @ant-prefixCls 都无用
此时 打开谷歌 devtools 发现 prefixCls 还是 ant
What is expected?
Modal prefixCls 应该为 blr
What is actually happening?
此时 打开谷歌 devtools 发现 prefixCls 还是 ant
extclp commented
changjiaqio commented
antd-desinger-vue 与 antd-desinger config 配置有出入的。
extclp commented
用法功能一样, 文档那边没写清楚
changjiaqio commented
selicens commented