Skip to content

Commit

Permalink
feat(Json): 调整Json组件的默认层级
Browse files Browse the repository at this point in the history
  • Loading branch information
duqingyu committed Dec 19, 2024
1 parent 0f5a748 commit 1e4698b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/editor/src/packages/FormItems/Json/Json.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const MJson = ({ id, type, config, onAdd, onEdit, onDelete }: ComponentType<ICon
{...config.props.formWrap}
name={false}
style={{
zIndex: 9999, // 避免默认添加属性时被其他组件遮挡
zIndex: 9, // 避免默认添加属性时被其他组件遮挡
...config.style,
}}
onEdit={!disabled ? handleEdit : false}
Expand Down
2 changes: 1 addition & 1 deletion packages/materials/FormItems/Json/Json.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const MJson = ({ id, type, config, onAdd, onEdit, onDelete }: ComponentType<ICon
{...config.props.formWrap}
name={false}
style={{
zIndex: 9999, // 避免默认添加属性时被其他组件遮挡
zIndex: 9, // 避免默认添加属性时被其他组件遮挡
...config.style,
}}
onEdit={!disabled ? handleEdit : false}
Expand Down

0 comments on commit 1e4698b

Please sign in to comment.