Skip to content

Commit

Permalink
fix(amis-editor): layout:margin-center配置项剔除默认值,避免影响新版外观边距配置
Browse files Browse the repository at this point in the history
  • Loading branch information
wibetter committed Jan 15, 2024
1 parent 4603f46 commit ddc834e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/amis-editor/src/tpl/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ setSchemaTpl(
'通过 margin 数值来设置对齐方式,其中 margin: 0 auto 用于设置居中对齐'
),
name: config?.name || 'style.margin',
value: config?.value || '0',
value: config?.value,
inputClassName: 'inline-flex justify-between',
visibleOn:
config?.visibleOn ??
Expand Down

0 comments on commit ddc834e

Please sign in to comment.