pro-components
pro-components copied to clipboard
🏆 Use Ant Design like a Pro!
提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 在v1.69.4 中 request获取的数据比initialValues优先级高,新一点的版本中(比如v.1.74.4) initialValues 优先级更高, ### 📷 复现步骤 v1.69.4   v.1.74.4  ### 🏞 期望结果 ### 💻 复现代码 ### © 版本信息 - ProComponents...
Get error ```log ModuleNotFoundError: Module not found: Error: Can't resolve 'react-dom/test-utils' in '/node_modules /.pnpm/registry.npmjs.org+@[email protected]_b75d9bf4dcec62aa604067cd2990aba6/ node_modules/@ant-design/pro-utils/es/hooks/useDebounceFn' ``` on Line 2: https://github.com/ant-design/pro-components/blob/master/packages/utils/src/hooks/useDebounceFn/index.ts#L2 
### 🔩 所属模块或组件 ProDescription ### 🥰 需求描述 ProProvider.Provider下自定义valueTypeMap的权重比columns自定义的render以及renderFormItem要高,造成无法部分更改的情况。 ### ⛰ 功能需求适用场景 内部columns配置需要外部valueTypeMap的部分配置,比如需要renderFormItem但不需要render,render在columns中定义
参数splitMenus改为false,Layout Header Title 显示有问题 ### 🐛 bug 描述  参数splitMenus改为false,Layout Header Title 显示有问题 ### 📷 复现步骤 https://codesandbox.io/s/14qw2y ### 🏞 期望结果 参数splitMenus改为false,Layout Header Title 显示为白色字体与整体样式适配 ### 💻 复现代码 ### © 版本信息...
当使用新版的ProCard 的Tabs 里的cardProps,会出现下面这个警告 React does not recognize the `cardProps` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it...
### 🐛 bug 描述 通过路由进入,或者刷新页面会显示感觉到重置 查询按钮抖动,变形! ### 📷 复现步骤 搜索表格过多的情况,很明显 https://user-images.githubusercontent.com/12706830/187642429-164cc3d2-6a52-44d9-9ec7-eb2d91a16676.mov 你的浏览器不支持 video 标签。 搜索过少的页面,也有闪动 https://user-images.githubusercontent.com/12706830/187643862-e3c936ea-61eb-4410-ad81-f4946b95b2a9.mov 你的浏览器不支持 video 标签。 ### 🏞 期望结果 期望正常不抖动,我默认不增加导出按钮,它也会抖动。 ### 💻 复现代码 我把整个页面代码,贴出来。 ``` import {...
### 🧐 问题描述 目前只有 ProFormText 等内置组件才支持 colProps,ProForm.Item 上不支持 colProps ### 💻 示例代码 ``` // 不起作用 ```
### 🔩 所属模块或组件 【ProDescriptions】 ### 🥰 需求描述 ProDescriptions在使用 `column` 配置自定义valueType,可以获取ProDescription的 dataSource 属性。 ``` { const noStyle = props.noStyle ? props.noStyle : true; return ; }, render: (text: any, props: Omit)...
### 🐛 bug 描述 zh-HK 繁体中文下 ProFormSelect 包在 antd 的 Form 里会抛异常。 ### 📷 复现步骤 在 zh-HK 语言下, Form 内的任意位置使用 ProFormSelect ### 🏞 期望结果 在简体中文和英文中正常使用,切换繁体中文后抛异常,期望在繁体下正常使用。 ### 💻 复现代码 https://codesandbox.io/s/ji-ben-shi-yong-forked-mx49xu?file=/index.tsx ###...
``` } **readonly** **width="md"** /> ``` 设置readonly是 width 无效 这个是有意设计还是bug?