pro-components
pro-components copied to clipboard
🏆 Use Ant Design like a Pro!
### 🧐 问题描述 正常刷新页面没有问题,在使用portable,用request拉取数据,代码修改之后,触动了hot reload,页面就停止不动,并且报错,需要手动刷新页面 bug infomration: Cannot read properties of undefined (reading '0') capture: 浏览器错误信息: Uncaught TypeError: Cannot read properties of undefined (reading '0') at genProColumnToColumn.js:65:1 at Array.map ()...
提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 ProForm的验证提示文字被遮盖,样式有问题 ### 📷 复现步骤   ### 🏞 期望结果 提示文字不该被遮挡 ### 💻 复现代码 ### © 版本信息 - ProComponents 版本: latest - umi 版本 -...
提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 Select组件的搜索功能支持分组和子项搜索,ProFormSelect子项搜索不到。 ### 📷 复现步骤 ``` ``` ### 🏞 期望结果 ### 💻 复现代码 ### © 版本信息 - ProComponents 版本: [e.g. 4.0.0] - umi 版本 -...
### 🐛 bug 描述 `Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix,...
In pro-utils we have access to the `defaultActionRender` function to customize / modify action messages. This function is not available through the pro-components which at the ends we would need...
### 🐛 bug 描述 valueType为treeSelect的情况下,fieldProps的treeNodeFilterProp无效,不能过滤,但是我用TreeSelect是可以的,具体看下面代码。 ### 📷 复现步骤 codesandbox打不开了。 ### 🏞 期望结果 应该能过滤。 ### 💻 复现代码 ``` { title: '警情细类', dataIndex: 'caseSubType', width: 280, ellipsis: true, valueType: "treeSelect", fieldProps: {...
提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md EditableProTable columns中的renderFormItem form.getFieldValue(dataIndex)实例无法获取到编辑单元的值 ### 📷 复现步骤 columns.renderFormItem 中使用 form.getFieldValue(dataIndex) 能得到编辑单元格的值 const voucherRulesColumns: ProColumns[] = [ { title: 'sku', dataIndex: 'skuInfo', valueType: 'select', render: (_, row) => { console.log('afdfdsfds',...
### 🐛 bug 描述 我在ProFormList里使用了ProFormDatePicker组件,期望提交时候能把时间字符串转换成unix时间戳,于是用了transform来转换数据, 但是并没有生效,里面的数据还是未转换前的数据。 ### 📷 复现步骤 ``` { console.log(value); return; }} > { return { date: moment(value).unix() }; }} /> {() => { return ( { return...