pro-components
pro-components copied to clipboard
🐛[BUG]Protable中form设置grid:true会报错items.flatMap is not a function
🐛 bug 描述
想要自定义Protable搜索表单中搜索框位置,于是使用form的栅栏布局方式,设置 grid:true 后报错items.flatMap is not a function
📷 复现步骤
- 在ProTable form中使用添加grid:true,如下
<ProTable<TemplateItem> form={{ grid:true, }} /> - 打开前端就会报错items.flatMap is not a function
© 版本信息
- ProComponents 版本: 2.6.52
- ProTable 版本:3.15.1
直接写在外层就行:
QueryFilter 会有这个问题,Protable 应该也是用的 QueryFilter 导致
有人解决吗?