pro-components
pro-components copied to clipboard
🏆 Use Ant Design like a Pro!
console.log(e)}> { return ( {listDom} ); }} > {(_, index, action) => { return ( { console.log(action?.getCurrentRowData()); 可以获取 }, }} /> {(aa, index1, action1) => { return ( { console.log(action1?.getCurrentRowData());...
提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🧐 问题描述 卡片列表支持rowSelection,但是选中后没有选中的样式 ### 💻 示例代码 ### 🚑 其他信息
 
提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 pro-card 在 Drawer 组件中样式丢失 ### 📷 复现步骤 https://codesandbox.io/s/antd-reproduction-template-forked-20co9e?file=/index.js ### 🏞 期望结果 Drawer 中 pro-card 样式正常 ### 💻 复现代码 https://codesandbox.io/s/antd-reproduction-template-forked-20co9e?file=/index.js ### © 版本信息 - antd...
## 问题描述 proTable 组件里面的toolbar中的search自带的Input输入框支持配置**placeholder**吗? ## 示例代码 toolbar={{ actions: [ { setCurrentType('add'); setAddModal(true); }} > 新增 , ], search: { formProp: { component: 'Input', // 使用的组件 options: { // 组件的配置信息 placeholder:...
### 🧐 问题描述 整个ProCard下共四列ProCard,最后一列的ProCard中又嵌套了两个,每个中有两个Pie,但是会自动换行,要怎么才能自适应不换行,和前面列的大小一样呢,也就是Pie变小的效果 ``` {/* 1 */} {/* 2 */} {/* 3 */} {/* 4 */} ``` 
提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🧐 问题描述 有一个比较小众和奇怪的需求,后端会返回一个 URL 字符串,例如 `app://link?target=123&title=test` 这样,前端想要通过 ProFormList 来方便地进行修改。目前看可以通过在 `initialValue` 处理来把字符串解析成对象,但是好像没有 transform 来把对象重新拼接成字符串? ### 💻 示例代码 ### 🚑 其他信息
"@ant-design/pro-table": "^2.71.0", "antd": "^4.19.0", "umi": "^3.5.0" 我在测试环境使用分页一切正常,生产之后选择分页之后,后端正常返回分页几对应的pageSize数量,但是前端不渲染!
### 🧐 问题描述 从github下载了最新的ant design pro 装好后发现后台风格变了,我看了下文档,尝试想要修改下pageContainer的背景色。现在是transparent的,我不喜欢透明的。而且页面的间距也过大。我想调整,但不想通过css控制去修改。我通过文档发现有配置。但我如何配置都不生效! ### 💻 示例代码 下面是我app.tsx里的配置。 ``` token: { colorBgAppListIconHover: 'rgba(0,0,0,0.06)', colorTextAppListIconHover: 'rgba(255,255,255,0.95)', colorTextAppListIcon: 'rgba(255,255,255,0.85)', sider: { colorBgCollapsedButton: '#fff', colorTextCollapsedButtonHover: 'rgba(0,0,0,0.65)', colorTextCollapsedButton: 'rgba(0,0,0,0.45)', colorMenuBackground: '#004FD9',...
### 🧐 问题描述 ProTable的搜索栏可以设置input属性吗?例如字符限制,正则,只能输入数字等功能。。。 ### 💻 示例代码 columns里设置maxLength ### 🚑 其他信息