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 描述 footerRender 中props参数TS类型声明错误。 官方文档写的是: props: ProLayoutProps,实际获取的数据也是。 但npm包中TS文件写的是: props: HeaderViewProps ### © 版本信息 - @ant-design/pro-components:2.6.49 - @ant-design/pro-layout: 7.17.19

我参考了antd里的demo,在antd table里,拖拽不会卡顿,但是在ProTable,几十条数据,我拖拽就非常卡 https://ant.design/components/table#components-table-demo-resizable-column

### 🐛 bug 描述 分页展示500条数据,渲染特别慢,渲染出来之后,行数据有点击打开Modal的按钮,点击后需要4s+才能打开Modal,打开之后关闭还需要4s+ ### 📷 复现步骤 ![image](https://github.com/ant-design/pro-components/assets/111224651/9fdb2267-823d-4af6-b449-25be92acbfee) 点击题目,会弹出弹出框,需要很长时间展开,点击关闭还是需要很长时间

问题描述: 更新 @antd-desogn/procomponents 版本 2.6.28 到2.6.49 在build的时候pro-form模块下的 FormItermRender组件类型文件路径导入出错。 请问如何解决 ![image](https://github.com/ant-design/pro-components/assets/44203829/f64170b9-a9ce-45e9-9c8f-0599c8ef650e)

### 🔩 所属模块或组件 ProLayout ### 🥰 需求描述 Allow the developer to customize the default behaviour of the isMobile in the ProLayout. ### ⛰ 功能需求适用场景 It would be beneficial for developers...

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 可左右滚动的protable,自定义header有问题 ![eee](https://github.com/ant-design/pro-components/assets/117614329/91bb8e0b-e588-499f-b236-aaef9a13c30c) ### 📷 复现步骤 ### 🏞 期望结果 ### 💻 复现代码 components={{ header: { wrapper: CustomHeader, } }} const CustomHeader = () => {...

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🧐 问题描述 因为想在移动端sider展示logo,所以自定义了menuHeaderRender。但PC出现了两个Logo,而且是同一个组件。有什么办法可以只留一个吗? ### 💻 示例代码 ``` "@ant-design/pro-components": "^2.6.48", "antd": "^5.13.2", ``` ``` { fixSiderbar: true, layout: 'mix', splitMenus: true, menuHeaderRender: (logo, title, props) => { return...

### 🐛 bug 描述 Vite 打包时报错 :"ColorPicker" is not exported by "node_modules/antd/es/index.js", imported by "node_modules/@ant-design/pro-field/es/components/ColorPicker/index.js" ### 📷 复现步骤 ### 🏞 期望结果 能够正常打包,或者是否能通过配置忽略错误 ### 💻 复现代码 ### © 版本信息 - ProComponents...

### 🧐 问题描述 ProLayout里面的Menu.Item如何自定义高度,目前高度是40px ### 💻 示例代码 ```jsx menuItemRender={(menuItemProps, defaultDom) => { return {menuItemProps.name} }} ``` ```jsx menuItemRender={(menuItemProps, defaultDom) => { return ( {menuItemProps.name} ) }} ``` ```jsx menuItemRender={(menuItemProps, defaultDom)...

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md 🐛 bug 描述 场景:在LightFilter中使用ProFormSelect 问题1:当ProFormSelect的label是dom时,选中label后,回显的内容为[object,object] 问题2:为了解决问题1,我选择用optionLabelProp自定义回显内容,但是不生效 fieldProps里多个属性都没有效果,如optionLabelProp、dropdownRender、onDropdownVisibleChange等没效果,去掉外层LightFilter就没有问题 📷 复现代码 问题1: ``` 问题2: ``` 🏞 期望结果 问题1:能正常回显下拉中可视的label内容 问题2:能按照optionItemRender指定的key进行回显 fieldProps里多个属性都没有效果,如optionLabelProp、dropdownRender、onDropdownVisibleChange等没效果,去掉外层LightFilter就没有问题 © 版本信息 ProComponents 版本: ^2.5.3 umi 版本: umi4 umi max...