fix(schema): ms-json-schema组件对象属性

This commit is contained in:
baiqi 2024-07-05 16:58:33 +08:00 committed by 刘瑞斌
parent 07d1134f52
commit a6fb585a66
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ export function parseTableDataToJsonSchema(
};
}
if (schemaItem.children && schemaItem.children.length > 0) {
if (schemaItem.children) {
if (schemaItem.type === 'object') {
// 对象类型
schema = {