We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72b7b0b commit 330a5cfCopy full SHA for 330a5cf
packages/formily/src/index.ts
@@ -38,7 +38,7 @@ export const transformToSchema = (
38
Object.assign(schema, clone(node.props))
39
}
40
schema['_designableId'] = node.id
41
- schema['_sourceName'] = node.sourceName
+ schema['_designableSourceName'] = node.sourceName
42
if (schema.type === 'array') {
43
if (node.children[0]) {
44
if (
@@ -92,7 +92,7 @@ export const transformToTreeNode = (
92
if (!schema) return
93
const current = {
94
id: schema['_designableId'] || uid(),
95
- sourceName: schema['_sourceName'],
+ sourceName: schema['_designableSourceName'],
96
componentName: realOptions.designableFieldName,
97
props: cleanProps(schema.toJSON(false)),
98
children: [],
0 commit comments