From bf50615060d260956ad6a8a455adc26ea547be29 Mon Sep 17 00:00:00 2001 From: chenos Date: Fri, 17 Mar 2023 14:19:28 +0800 Subject: [PATCH] fix: tree collection can be sync to sub-apps --- .../multi-app-share-collection/src/client/index.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/plugins/multi-app-share-collection/src/client/index.tsx b/packages/plugins/multi-app-share-collection/src/client/index.tsx index efa4c2d69..5eb14892c 100644 --- a/packages/plugins/multi-app-share-collection/src/client/index.tsx +++ b/packages/plugins/multi-app-share-collection/src/client/index.tsx @@ -34,6 +34,13 @@ collectionTemplates.general.configurableProperties.syncToApps = { 'x-component': AppSelect, }; +collectionTemplates.tree.configurableProperties.syncToApps = { + type: 'string', + title: '{{ t("Sync to apps") }}', + 'x-decorator': 'FormItem', + 'x-component': AppSelect, +}; + export default (props) => { return <>{props.children}; };