diff --git a/packages/amis-editor/src/tpl/layout.tsx b/packages/amis-editor/src/tpl/layout.tsx index a6823454a..dbf05aa2b 100644 --- a/packages/amis-editor/src/tpl/layout.tsx +++ b/packages/amis-editor/src/tpl/layout.tsx @@ -581,10 +581,10 @@ setSchemaTpl( if (value === '1 1 auto') { // 弹性 if (config?.isFlexColumnItem) { - form.setValueByName('style.overflowY', 'auto'); + // form.setValueByName('style.overflowY', 'auto'); form.setValueByName('style.height', undefined); } else { - form.setValueByName('style.overflowX', 'auto'); + // form.setValueByName('style.overflowX', 'auto'); form.setValueByName('style.width', undefined); } } else if (value === '0 0 150px') {