fix(amis-editor): layout:margin-center配置项剔除默认值,避免影响新版外观边距配置

This commit is contained in:
wibetter 2024-01-15 15:23:27 +08:00
parent 4603f4648b
commit ddc834e958

View File

@ -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 ??