From e37eb67b8814e847a75b35d048787889b160829d Mon Sep 17 00:00:00 2001 From: tooeast Date: Fri, 25 Nov 2022 16:20:48 +0800 Subject: [PATCH] =?UTF-8?q?[amis-saas-7496]tree=20treeSelect=20=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E8=99=9A=E6=8B=9F=E6=BB=9A=E5=8A=A8=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I26c5da2d353e16088605c52b439b07474a6134f0 --- packages/amis-editor/src/plugin/Form/InputTree.tsx | 4 +++- packages/amis-editor/src/plugin/Form/TreeSelect.tsx | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/amis-editor/src/plugin/Form/InputTree.tsx b/packages/amis-editor/src/plugin/Form/InputTree.tsx index d2554c736..f651fb380 100644 --- a/packages/amis-editor/src/plugin/Form/InputTree.tsx +++ b/packages/amis-editor/src/plugin/Form/InputTree.tsx @@ -489,7 +489,9 @@ export class TreeControlPlugin extends BasePlugin { } ] } - } + }, + getSchemaTpl('virtualThreshold'), + getSchemaTpl('virtualItemHeight') ] }, getSchemaTpl('status', { diff --git a/packages/amis-editor/src/plugin/Form/TreeSelect.tsx b/packages/amis-editor/src/plugin/Form/TreeSelect.tsx index 811dd08c3..9b6e5de51 100644 --- a/packages/amis-editor/src/plugin/Form/TreeSelect.tsx +++ b/packages/amis-editor/src/plugin/Form/TreeSelect.tsx @@ -479,7 +479,9 @@ export class TreeSelectControlPlugin extends BasePlugin { } ] } - } + }, + getSchemaTpl('virtualThreshold'), + getSchemaTpl('virtualItemHeight') ] }, getSchemaTpl('status', {