Commit 6bc3011878a0b9a4cae46926c6d274bd340c0367
1 parent
bc1a1e83
feat: props item support custom layout; !#zh: 组件属性编辑器 支持表单子项目自定义布局
Showing
1 changed file
with
2 additions
and
1 deletions
front-end/h5/src/components/core/editor/edit-panel/props.js
| @@ -102,7 +102,8 @@ export default { | @@ -102,7 +102,8 @@ export default { | ||
| 102 | const formItemData = { | 102 | const formItemData = { |
| 103 | props: { | 103 | props: { |
| 104 | ...formItemLayout, | 104 | ...formItemLayout, |
| 105 | - label: item.label | 105 | + label: item.label, |
| 106 | + ...item.layout | ||
| 106 | } | 107 | } |
| 107 | } | 108 | } |
| 108 | return ( | 109 | return ( |