Skip to content

Commit

Permalink
fix: editor中mapping组件配置的itemSchema无法预览隐藏态无法选中 (#9061)
Browse files Browse the repository at this point in the history
Co-authored-by: jinye <jinye@baidu.com>
  • Loading branch information
CheshireJCat and jinye committed Dec 8, 2023
1 parent 897fbda commit e8254bd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/amis-editor/src/plugin/Mapping.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,6 @@ export class MappingPlugin extends BasePlugin {
return 'item';
}

filterProps(props: any) {
// 禁止选中子节点
props = JSONPipeOut(props);
return props;
}

buildEditorToolbar(
{id, info, schema}: BaseEventContext,
toolbars: Array<BasicToolbarItem>
Expand Down

0 comments on commit e8254bd

Please sign in to comment.