-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
3.2.20
Environment
无
Reproduction link
https://3x.antdv.com/components/form#api
Steps to reproduce
文档示例中Form.Item.name的值有string 和 string[]两种类型, 下方api文档中显示name支持的类型仅为string.
按照文档示例使用时,浏览器中会有[Vue warn]:
Invalid prop: type check failed for prop "name". Expected String with value "x1,x2", got Array
What is expected?
文档示例使用正确的写法,或者name声明支持现在的数组类型.
What is actually happening?
按照文档示例使用会产生过多的vue warn