From 93d0e17912f30e3b3f88fdfa3a5ac9435162a0cc Mon Sep 17 00:00:00 2001 From: sealday Date: Wed, 3 Apr 2024 19:57:59 +0800 Subject: [PATCH] fix: add menu --- packages/core/client/src/schema-initializer/utils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/client/src/schema-initializer/utils.ts b/packages/core/client/src/schema-initializer/utils.ts index 360e2ecfd..1057e9845 100644 --- a/packages/core/client/src/schema-initializer/utils.ts +++ b/packages/core/client/src/schema-initializer/utils.ts @@ -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,