pro-components
pro-components copied to clipboard
🏆 Use Ant Design like a Pro!
const columns = useRef([ { key: 'sort', dataIndex: 'key', editable: false, width: 30, }, { title: '序号', key: 'serial', dataIndex: 'serial', // editable: false, width: '60px', // render: (_: any,...
### 🐛 bug 描述 ProList设置cardActionProps为actions后会和ProCard的actions样式冲突,先加载的样式会生效,后加载的样式会错乱 ### 💻 复现代码 ``` import { ProList, ProCard } from '@ant-design/pro-components'; import { Progress, Tag } from 'antd'; const data = [ '语雀的天空', 'Ant Design',...
提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🧐 问题描述 使用了umi和pro-components 我自定义了valueType,但是发现ts无法通过 ### 💻 示例代码 ``` const valueTypeMap: Record = { lookup: { renderFormItem(text, props) { return } }, } export default function Layout() {...
提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 SearchSelect 下拉框选项的data-item为"[object Object]" ### 📷 复现步骤 官方示例的SearchSelect即可 https://pro-components.antdigital.dev/components/field-set#%E4%BB%A3%E7%A0%81%E7%A4%BA%E4%BE%8B ### 🏞 期望结果 data-item为一个正常值 ### 💻 复现代码 ### © 版本信息 - ProComponents 版本: [e.g. 4.0.0] -...
提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 在使用Schema Form 时, valueType 为select,当我使用分组操作时,下拉值够多有滚动条时反复上下拉滚动条,分组会逐渐覆盖下拉值🐛[BUG] ### 📷 复现步骤 https://github.com/ant-design/pro-components/assets/51284980/528f3390-0796-463c-9cb9-dcbb7f25f501 ### 🏞 期望结果 不应该是这样 ### 💻 复现代码 ### © 版本信息 - ProComponents 版本: [e.g. 4.0.0]...
### 🐛 bug 描述 使用EditableProTable,valueType:为select且valueEnum的Map key是数字时,不会根据columns中的valueEnum map表进行替换,但是字符串是可以的。而且在ProTable中,Key为数字时能正确处理。 ### 📷 复现步骤  ### 🏞 期望结果  ### 💻 复现代码 valueType: 'select', valueEnum: { 1: { text: intl.formatMessage({ id: 'pages.hisDataList.type.boolean', defaultMessage: '布尔型',...
### 🥰 需求描述 如题
close: https://github.com/ant-design/pro-components/issues/8357
### 🥰 需求描述 关闭这个配置后使用antd自带的效果,这样SettingDrawer设置主题色后左侧菜单才会跟着变化 自己配置这些token太麻烦了
### 🐛 bug 描述 { await waitTime(1000); message.success(`手机号 ${phone} 验证码发送成功!`); }} /> ### 📷 复现步骤 ProFormCaptcha 组件设置 `width` 属性 ### 🏞 期望结果 对应的 `width` 并未生效 ### 💻 复现代码 ### ©...