会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
alwaysmove
博客园
首页
新随笔
联系
订阅
管理
2024年3月28日
Ant Design 设置必填属性的一个坑!Objects are not valid as a React child (found: object with keys {requiredMsg}). If you meant to render a collection of children, use an array instead.
摘要: 1、刚开始,我是用第一种方式。通过一个变量,来设置必填属性的提示值 显示是没有问题的。 但是点击ModalForm 确认按钮时,报错 Objects are not valid as a React child (found: object with keys {requiredMsg}). If
阅读全文
posted @ 2024-03-28 11:40 信铁寒胜
阅读(117)
评论(0)
推荐(0)
编辑
公告