Error: Objects are not valid as a React child (found: object with keys {submitButtonProps}). If you meant to render a collection of children, use an array instead.
in Space (created by Actions)
in Actions (created by BaseForm)
in div (created by Context.Consumer)
in Col (created by BaseForm)
in div (created by Context.Consumer)
in Row (created by ResizeObserver)
in ResizeObserver (created by BaseForm)
in form (created by ForwardRef(Form))
in ForwardRef(Form) (created by ForwardRef(InternalForm))
in SizeContextProvider (created by ForwardRef(InternalForm))
in ForwardRef(InternalForm) (created by BaseForm)
in ConfigProviderWarp (created by BaseForm)
in BaseForm (created by QueryFilter)
in QueryFilter (created by FormSearch)
in div (created by FormSearch)
in FormSearch (created by ProTable)
in div (created by ProTable)
🐛 bug 描述
重新编译项目,出现
Objects are not valid as a React child (found: object with keys {submitButtonProps}) ......
📷 复现步骤
开始排查: 1、进ProTable源码,甚至全局搜索,都无法找到
submitButtonProps
2、哪怕注释protable的所有props,依然报错🏞 期望结果
哎,实在太多坑了。 哪怕有报错信息,然而没啥用,排了一下午依然无法解决
💻 复现代码
© 版本信息
🚑 其他信息
如果要提供复现demo就算了,我就是个铲屎官-.-