From 0eeeb0c85600fcbb5d15d3979338f34da64cd7a8 Mon Sep 17 00:00:00 2001 From: Din <36906371+iamdin@users.noreply.github.com> Date: Tue, 16 Jul 2024 12:52:14 +0800 Subject: [PATCH] feat(vue): add default value for createSchemaField (#4123) --- packages/vue/src/components/SchemaField.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vue/src/components/SchemaField.ts b/packages/vue/src/components/SchemaField.ts index de9c94d8471..a90df9b67a9 100644 --- a/packages/vue/src/components/SchemaField.ts +++ b/packages/vue/src/components/SchemaField.ts @@ -120,7 +120,7 @@ const markupProps = { export function createSchemaField< Components extends SchemaVueComponents = SchemaVueComponents ->(options: ISchemaFieldVueFactoryOptions): SchemaFieldComponents { +>(options: ISchemaFieldVueFactoryOptions = {}): SchemaFieldComponents { const SchemaField = { name: 'SchemaField', inheritAttrs: false,