Skip to content

Commit

Permalink
fix:兼容schema为空的情况 (#8889)
Browse files Browse the repository at this point in the history
  • Loading branch information
pianruijie committed Nov 24, 2023
1 parent c97f337 commit 5b23f8f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/amis-editor/src/plugin/Form/Combo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -703,8 +703,7 @@ export class ComboControlPlugin extends BasePlugin {
while (pool.length) {
const current = pool.shift() as EditorNodeType;
const schema = current.schema;

if (schema.name) {
if (schema?.name) {
itemsSchema.properties[schema.name] =
await current.info.plugin.buildDataSchemas?.(
current,
Expand Down

0 comments on commit 5b23f8f

Please sign in to comment.