-
import { createSchemaField } from '@formily/react';
const SchemaField = createSchemaField({
components: {
Compontent1,
Compontent2
},
scope: {},
}); 如上代码,想在SchemaField创建后远程获取新的组件回来再注册上去 |
Beta Was this translation helpful? Give feedback.
Answered by
zxq08
Jun 28, 2024
Replies: 1 comment
-
可以呀,SchemaField支持属性的形式传递 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
donfo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以呀,SchemaField支持属性的形式传递
https://react.formilyjs.org/zh-CN/api/components/schema-field#json-schema-%E7%94%A8%E4%BE%8B