From 8c73538bf5c3fd9fb7efa23007577fa98fad1fe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E6=89=8D?= <1450941858@qq.com> Date: Sun, 18 Aug 2024 16:25:00 +0800 Subject: [PATCH] fix schema-form-item.vue (#212) CheckbBoxGroup -> CheckboxGroup https://github.com/buqiyuan/vue3-antdv-admin/blob/abd758fe66d2af258a8785dd37af125a2f497ae9/src/components/core/schema-form/src/componentMap.ts#L38 --- src/components/core/schema-form/src/schema-form-item.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/core/schema-form/src/schema-form-item.vue b/src/components/core/schema-form/src/schema-form-item.vue index d17f2c2d..84acac1f 100644 --- a/src/components/core/schema-form/src/schema-form-item.vue +++ b/src/components/core/schema-form/src/schema-form-item.vue @@ -406,7 +406,7 @@ const { component } = unref(schema); const componentProps = newSchema.componentProps as ComponentProps; - if (['Select', 'RadioGroup', 'CheckBoxGroup'].some((n) => n === component)) { + if (['Select', 'RadioGroup', 'CheckboxGroup'].some((n) => n === component)) { componentProps.options = result; } else if (['TreeSelect', 'Tree'].some((n) => n === component)) { componentProps.treeData = result;