Skip to content

Commit

Permalink
fix: variableList 显示问题
Browse files Browse the repository at this point in the history
  • Loading branch information
allenve committed Jul 12, 2024
1 parent c0db75d commit 4c11d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/amis-editor-core/src/component/factory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function makeWrapper(
const nodeSchema = manager.store.getNodeById(info.id)?.schema;
const tag = appTranslate(nodeSchema?.title ?? nodeSchema?.name);
manager.dataSchema.current.tag = `${info.name}${
tag ? ` : ${tag}` : ''
tag && typeof tag === 'string' ? ` : ${tag}` : ''
}`;
manager.dataSchema.current.group = '组件上下文';
}
Expand Down

0 comments on commit 4c11d67

Please sign in to comment.