diff --git a/packages/vue/docs/api/shared/schema.md b/packages/vue/docs/api/shared/schema.md index 94837dc1beb..78ba89a33b9 100644 --- a/packages/vue/docs/api/shared/schema.md +++ b/packages/vue/docs/api/shared/schema.md @@ -460,9 +460,10 @@ import { Schema } from '@formily/react' Schema.registerVoidComponents(['card', 'tab', 'step']) ``` - +::: warning +

注意,该 api 需要配合 enablePolyfills(['1.0']) 使用

-
+::: ### registerTypeDefaultComponents diff --git a/packages/vue/docs/demos/api/components/recursion-field-with-component.vue b/packages/vue/docs/demos/api/components/recursion-field-with-component.vue index 53820542d6c..f49aee4e7b3 100644 --- a/packages/vue/docs/demos/api/components/recursion-field-with-component.vue +++ b/packages/vue/docs/demos/api/components/recursion-field-with-component.vue @@ -21,8 +21,8 @@ import { RecursionField, useField, useFieldSchema, - observer, } from '@formily/vue' +import { observer } from '@formily/reactive-vue' import 'ant-design-vue/dist/antd.css' const ArrayItems = observer( diff --git a/packages/vue/docs/demos/api/hooks/use-field.vue b/packages/vue/docs/demos/api/hooks/use-field.vue index 02ec01615ac..123727a40bb 100644 --- a/packages/vue/docs/demos/api/hooks/use-field.vue +++ b/packages/vue/docs/demos/api/hooks/use-field.vue @@ -10,12 +10,16 @@ />