fix: add menu

This commit is contained in:
sealday 2024-04-03 19:57:59 +08:00
parent 5376b48e3e
commit 93d0e17912

View File

@ -1427,7 +1427,7 @@ function useAssociationFields({
}; };
} }
return { return {
key: `${componentName}_table_subMenu_${index}`, key: `associationFiled_${componentName}_table_subMenu_${index}`,
type: 'subMenu', type: 'subMenu',
name: `${field.target}_${index}`, name: `${field.target}_${index}`,
title, title,
@ -1445,7 +1445,7 @@ function useAssociationFields({
type: 'divider', type: 'divider',
}, },
{ {
key: `${componentName}_table_subMenu_${index}_copy`, key: `associationFiled_${componentName}_table_subMenu_${index}_copy`,
type: 'subMenu', type: 'subMenu',
name: 'copy', name: 'copy',
dataSource, dataSource,
@ -1467,7 +1467,7 @@ function useAssociationFields({
}), }),
}, },
{ {
key: `${componentName}_table_subMenu_${index}_ref`, key: `associationFiled_${componentName}_table_subMenu_${index}_ref`,
type: 'subMenu', type: 'subMenu',
name: 'ref', name: 'ref',
dataSource, dataSource,