From 979e3509d3cd92aa8cd74f4239b928590c04f7d2 Mon Sep 17 00:00:00 2001 From: zhou999 Date: Tue, 6 Sep 2022 21:01:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B5=8B=E8=AF=95=EF=BC=9A=E3=80=90?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=BC=98=E5=8C=96=E7=AC=AC=E4=BA=94=E6=89=B9?= =?UTF-8?q?=E3=80=91=E6=A0=91=E4=B8=8B=E6=8B=89=E6=A1=86-=E5=B1=9E?= =?UTF-8?q?=E6=80=A7-=E9=80=89=E9=A1=B9=E7=AE=A1=E7=90=86=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=AD=90=E9=80=89=E9=A1=B9=EF=BC=8C=E5=AD=90=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E5=B1=82=E7=BA=A7=E4=B8=BA=E7=AC=AC=E5=85=AD=E5=B1=82?= =?UTF-8?q?=E7=BA=A7=E6=97=B6=EF=BC=8C=E9=80=89=E9=A1=B9=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E8=BF=9B=E8=A1=8C=E7=BC=96=E8=BE=91=EF=BC=9B?= =?UTF-8?q?=20amis-saas-6427?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If5b8a2b4497224584cbd886c2bec98239fbe5dbc --- packages/amis-editor/src/renderer/TreeOptionControl.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/amis-editor/src/renderer/TreeOptionControl.tsx b/packages/amis-editor/src/renderer/TreeOptionControl.tsx index 1af88d69c..c048963f6 100644 --- a/packages/amis-editor/src/renderer/TreeOptionControl.tsx +++ b/packages/amis-editor/src/renderer/TreeOptionControl.tsx @@ -269,7 +269,7 @@ export default class TreeOptionControl extends React.Component< } @autobind addChildOption(pathStr: string) { - if (pathStr.split('-').length >= 7) { + if (pathStr.split('-').length >= 6) { toast.warning('层级过深,建议使用【接口获取】管理选项', {closeButton: true}); return; }