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

🏆 Use Ant Design like a Pro!

Results 761 pro-components issues
Sort by recently updated
recently updated
newest added

### 🐛 bug 描述 ![image](https://user-images.githubusercontent.com/50985188/198040610-425ac3a2-7af3-4bce-9181-7832b9a9de6c.png) ### 📷 复现步骤 [官方文档 通过 token 修改样式](https://procomponents.ant.design/components/layout#%E9%80%9A%E8%BF%87-token-%E4%BF%AE%E6%94%B9%E6%A0%B7%E5%BC%8F) ### 🏞 期望结果 把修改背景色的 token 暴露出来

layout
🎨 By Design

### Reproduction link [https://procomponents.ant.design/components/layout/](https://procomponents.ant.design/components/layout/) ### Steps to reproduce ![image](https://user-images.githubusercontent.com/12124478/197135891-42d63bf7-42f7-4fed-a0d5-00121166730a.png) 侧栏导航->鼠标处于第二个菜单项的第二个二级菜单项上->然后往左滑动至第三个菜单项上,会出现两个 二级菜单项重叠 ### What is expected? 菜单项不重叠,即第一个二级菜单项会消失 ### What is actually happening? 二级菜单重叠展示 | Environment | Info | | --- |...

⭕️ bug
layout

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 protable 搜索表单设置了必填,重置不起作用 点击查询按钮会进行验证必填,重置按钮不选择也会调用请求接口。 ### 📷 复现步骤 ### 🏞 期望结果 ### 💻 复现代码 ### © 版本信息 - ProComponents 版本: [e.g. 4.0.0] - umi 版本 -...

### 🧐 问题描述 旧项目是使用单独子包的形式进行开发的,那统一使用 `@ant-design/pro-components` 后,如何将之前子包 `import` 的格式改为从 `@ant-design/pro-components` 包中 `import` 的格式呢? **有没有快速统一升级的 `codemod` 工具** ### 💻 示例代码 ```javascript # 单独子包 import 的格式 import type { ActionType, ProColumns } from...

### 🧐 问题描述 ProFormList 数据结构化中,当数据条目多了之后,每次增删改都很卡顿,有什么优化渲染的办法吗? 例: 每一条 Item 是个对象 -(包含两个字符串类型字段,两个 number 类型字段,一个 number[] 类型字段)。 当条目增加到 20-30 的时候,每次增加一条新内容都需要大约 400 ms。 ![image](https://user-images.githubusercontent.com/43896664/185601749-9b32da5d-97cf-40cf-acb0-1374120323e3.png) 如图,每次增加一条数据的时候,会令整个 ProFormList 下的所有 Item 都重新渲染,一条平均 10ms,30 条加上其他的渲染就导致总渲染时间飙升到 400ms 左右。 下方的示例代码是我在项目中实际应用的,请帮忙看下是否是因为我使用的不对造成的渲染性能问题。如果不是,烦请提供一些解决办法,万分感谢!...

form
🎖️ featrue

ProTable使用Request请求后,我在对话框中的form编辑了某一行数据后,希望前端回写刚才编辑的数据,怎么实现? 同样还有删除数据、新增数据

### 🧐 问题描述 在antd外层ConfigProvider配置了中文语言,antd正常的日期组件是中文,但里面使用了pro-components的EditableProTable日期却仍是英文。 ![image](https://user-images.githubusercontent.com/14016747/178637840-69622972-be4f-4842-9355-e53ed1ae1162.png) 尝试网上搜了各种方法都无法解决,自己尝试更换pro-components版本(^1.1.6 -> 1.1.5),里面的日期英文却好了一半。 ![image](https://user-images.githubusercontent.com/14016747/178637869-4f39451c-9f07-4a2e-8fcb-755a92a2be02.png) ### 💻 示例代码 package.json: "@ant-design/pro-components": "^1.1.6", "@ant-design/pro-table": "2.56.3", "antd": "^4.21.2", "react": "^17.0.2", ### 🚑 其他信息 ![image](https://user-images.githubusercontent.com/14016747/178636313-6b97fbca-6b5b-429c-8730-007015ab58be.png) ![image](https://user-images.githubusercontent.com/14016747/178636511-4285bd8a-1fdb-419e-b7a4-28ae5df952a3.png) ![image](https://user-images.githubusercontent.com/14016747/178636466-cad77390-2006-4d4f-82f5-4f0934c099c2.png) ![image](https://user-images.githubusercontent.com/14016747/178636571-430b49b7-fa3b-4f4c-8e0c-bd7a984bcf0f.png)

### What problem does this feature solve? Drawer 里面使用Tree,如果用ProTable进行弹窗,则Tree没方法进行不同切换渲染,每次都是第一次的记录 ### What does the proposed API look like? Drawer 里面使用Tree,如果用ProTable进行弹窗,则Tree没方法进行不同切换渲染,每次都是第一次的记录

📦 Need to reproduce

用了prolayou,发现常用的搜狗浏览器不兼容很多样式,大家都这样?还是怎么解决(自己修改样式)? padding-inline padding-block inset-inline-end inset-block-start

### 🧐 问题描述 项目使用umijs/max构建,pro-components使用版本2.3.14,当在.umirc.ts中配置 ``` antd: { configProvider: { prefixCls: ’antV4‘, } } ``` 后,会导致layout的样式缺失,但使用1.1.24版本时则是正常 2.3.14版本下的样式 ![image](https://user-images.githubusercontent.com/10275774/195009516-3fb6bab0-ac79-467f-9e81-715996a2e39a.png) 1.1.24版本下的样式 ![image](https://user-images.githubusercontent.com/10275774/195009667-3777a619-acdd-438a-8a46-dcd8b19cfe6a.png) ### © 版本信息 - ProComponents 版本: 2.3.14 - umi 版本:umijs/max 4.0.24...

📦 Need to reproduce