ant-design / antd-style

css-in-js library with antd v5 token system
https://ant-design.github.io/antd-style/
MIT License
187 stars 29 forks source link

🐛[BUG] umijs 配置自定义 prefixCls antd-style 无法获取到自定义 prefixCls #122

Closed leshalv closed 6 months ago

leshalv commented 7 months ago

使用 configProvider 配置 prefixCls,在 createStyles 中获取到的 prefixCls 还是 ant,导致样式失效。

antd: {
    configProvider: {
      prefixCls: 'xxxxx',
    }
}
arvinxx commented 7 months ago

现在应该没有从configprovider取。我修一下

wangchao0713 commented 7 months ago

我也遇到了这个问题,请问这个有计划在哪个版本中修复吗?

arvinxx commented 7 months ago

明天修复

arvinxx commented 6 months ago

@leshalv @wangchao0713 试试 3.6.0

leshalv commented 6 months ago

@leshalv @wangchao0713 试试 3.6.0

已生效