Skip to content

Commit 330a5cf

Browse files
committed
chore(formily): update _sourceName to _designableSourceName
1 parent 72b7b0b commit 330a5cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/formily/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const transformToSchema = (
3838
Object.assign(schema, clone(node.props))
3939
}
4040
schema['_designableId'] = node.id
41-
schema['_sourceName'] = node.sourceName
41+
schema['_designableSourceName'] = node.sourceName
4242
if (schema.type === 'array') {
4343
if (node.children[0]) {
4444
if (
@@ -92,7 +92,7 @@ export const transformToTreeNode = (
9292
if (!schema) return
9393
const current = {
9494
id: schema['_designableId'] || uid(),
95-
sourceName: schema['_sourceName'],
95+
sourceName: schema['_designableSourceName'],
9696
componentName: realOptions.designableFieldName,
9797
props: cleanProps(schema.toJSON(false)),
9898
children: [],

0 commit comments

Comments
 (0)