fix: 保存区块模版时操作位置错误 (#1329)

Co-authored-by: sealday <zhanglin@daoyoucloud.com>
Reviewed-on: daoyoucloud/tachybase#1329
Reviewed-by: sealday <zhanglin@daoyoucloud.com>
Co-authored-by: wjh <wwwjh0710@163.com>
Co-committed-by: wjh <wwwjh0710@163.com>
This commit is contained in:
wjh 2024-07-17 10:52:18 +08:00 committed by sealday
parent fea10debc0
commit b76f065cf7

View File

@ -363,7 +363,7 @@ const findBlockTemplateSchema = (fieldSchema) => {
}; };
export const SchemaSettingsFormItemTemplate = function FormItemTemplate(props) { export const SchemaSettingsFormItemTemplate = function FormItemTemplate(props) {
const { insertAdjacentPosition = 'afterBegin', componentName, collectionName, resourceName } = props; const { insertAdjacentPosition = 'beforeEnd', componentName, collectionName, resourceName } = props;
const { t } = useTranslation(); const { t } = useTranslation();
const compile = useCompile(); const compile = useCompile();
const { getCollection } = useCollectionManager_deprecated(); const { getCollection } = useCollectionManager_deprecated();