From 2db816a8728781afe99a77eb0f21404f2e35c8c6 Mon Sep 17 00:00:00 2001 From: wjh Date: Tue, 2 Jul 2024 21:00:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E4=B8=8D=E8=83=BD=E7=94=A8,=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E5=88=A0=E9=99=A4=E6=A0=B7=E5=BC=8F=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=20(#1256)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: sealday Co-authored-by: sealday Reviewed-on: https://git.daoyoucloud.com/daoyoucloud/tachybase/pulls/1256 Co-authored-by: wjh Co-committed-by: wjh --- packages/core/client/src/built-in/index.tsx | 1 + packages/core/components/src/array-base/index.tsx | 12 ++++-------- .../TabSearchCollapsibleInputItemAction.ts | 3 ++- .../tab-search/components/field-item/hooks.tsx | 10 +++++++--- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/packages/core/client/src/built-in/index.tsx b/packages/core/client/src/built-in/index.tsx index c8a6b9322..0d15f3efe 100644 --- a/packages/core/client/src/built-in/index.tsx +++ b/packages/core/client/src/built-in/index.tsx @@ -332,6 +332,7 @@ export class BuiltInPlugin extends Plugin { name: 'pinned-list', config: { items: { + ui: { order: 50, component: 'DesignableSwitch', pin: true, snippet: 'ui.*' }, wf: { order: 100, component: 'WorkflowLink', pin: true, snippet: 'pm.*' }, ds: { order: 200, component: 'DatasourceLink', pin: true, snippet: 'pm.*' }, pm: { order: 300, component: 'PluginManagerLink', pin: true, snippet: 'pm' }, diff --git a/packages/core/components/src/array-base/index.tsx b/packages/core/components/src/array-base/index.tsx index b4b38fcd8..306783793 100644 --- a/packages/core/components/src/array-base/index.tsx +++ b/packages/core/components/src/array-base/index.tsx @@ -184,10 +184,9 @@ const Copy = forwardRef((props, ref) => { if (array.field?.pattern !== 'editable') return null; return wrapSSR(