x-render icon indicating copy to clipboard operation
x-render copied to clipboard

[Feature] 使用 fr-generator 生成schema时,列表类型设置默认值支持array

Open summerboys opened this issue 4 years ago • 0 comments

期望的新功能 (describe the expected new feature)

期望 fr-generator 复杂类型的默认是支持array 或者 object的录入。

例如列表默认值应该是 array 类型

但是目前 fr-generator 默认值都是处理为 string, 导致通过fr-generator 配置的列表不支持默认有几个子项。

image

简述一下使用场景,便于开发者更好理解新功能的必要性 (describe your scenario for us to understand the need)

summerboys avatar Feb 23 '22 09:02 summerboys