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