pro-components icon indicating copy to clipboard operation
pro-components copied to clipboard

🧐[问题]2.x版本在配置prefixCls后样式缺失

Open wtchaos opened this issue 3 years ago • 1 comments

🧐 问题描述

项目使用umijs/max构建,pro-components使用版本2.3.14,当在.umirc.ts中配置

antd: {
    configProvider: {
      prefixCls: ’antV4‘,
    }
}

后,会导致layout的样式缺失,但使用1.1.24版本时则是正常 2.3.14版本下的样式 image 1.1.24版本下的样式 image

© 版本信息

  • ProComponents 版本: 2.3.14
  • umi 版本:umijs/max 4.0.24
  • 浏览器环境: chrome 105.0.5195.125
  • 开发环境: mac OS

wtchaos avatar Oct 11 '22 06:10 wtchaos

Hello @wtchaos. Please provide a online reproduction by forking this link https://codesandbox.io/ or a minimal GitHub repository.

你好 @wtchaos, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。 如何写个好问题?https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

github-actions[bot] avatar Oct 13 '22 06:10 github-actions[bot]