From 1d971be23e78f330528d813de60ccb6ca926a720 Mon Sep 17 00:00:00 2001 From: wibetter <365533093@qq.com> Date: Tue, 19 Sep 2023 19:55:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(amis-editor):=20flex=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E3=80=8C=E5=BC=B9=E6=80=A7=E8=AE=BE=E7=BD=AE=E3=80=8D=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A1=B9=E5=8F=98=E5=8A=A8=E6=97=B6=E4=B8=8D=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=B7=BB=E5=8A=A0overflowY=E5=92=8CoverflowX?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis-editor/src/tpl/layout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') {