From 74d95b8db45c0f24b765aa8514f10f8b21248ad4 Mon Sep 17 00:00:00 2001 From: xingyu4j Date: Fri, 27 Jun 2025 23:14:17 +0800 Subject: [PATCH] fix: table action --- .../components/table-action/table-action.vue | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/apps/web-antd/src/components/table-action/table-action.vue b/apps/web-antd/src/components/table-action/table-action.vue index 45a22719c..e2bea93bf 100644 --- a/apps/web-antd/src/components/table-action/table-action.vue +++ b/apps/web-antd/src/components/table-action/table-action.vue @@ -244,28 +244,24 @@ function handleMenuClick(e: any) { action.onClick(); } } - -/** 生成稳定的 key */ -function getActionKey(action: ActionItem, index: number) { - return `${action.label || ''}-${action.type || ''}-${index}`; -}