Skip to content

Commit

Permalink
fix schema-form-item.vue (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
notbucai authored Aug 18, 2024
1 parent abd758f commit 8c73538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/core/schema-form/src/schema-form-item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8c73538

Please sign in to comment.