提交 4505e6cd 编写于 作者: F FateRiddle

去掉hidden对校验的影响

上级 08d8173c
......@@ -685,7 +685,6 @@ export const removeEmptyItemFromList = formData => {
export const getDescriptorFromSchema = ({ schema, isRequired = true }) => {
let result = {};
let singleResult = {};
if (schema.hidden === true) return result;
if (isObjType(schema)) {
result.type = 'object';
if (isRequired && schema.required === true) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册