fix: tree collection can be sync to sub-apps

This commit is contained in:
chenos 2023-03-17 14:19:28 +08:00
parent fb0cdb704f
commit bf50615060

View File

@ -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}</>;
};