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 c8a48a73b..679f6fcaa 100644 --- a/apps/web-antd/src/components/table-action/table-action.vue +++ b/apps/web-antd/src/components/table-action/table-action.vue @@ -137,11 +137,11 @@ function handleButtonClick(action: ActionItem) { } } -/** 监听props变化,强制重新计算 */ +/** 监听 props 变化,强制重新计算 */ watch( () => [props.actions, props.dropDownActions], () => { - // 这里不需要额外处理,computed会自动重新计算 + // 这里不需要额外处理,computed 会自动重新计算 }, { deep: true }, ); diff --git a/apps/web-ele/src/components/table-action/icons.ts b/apps/web-ele/src/components/table-action/icons.ts index f8e5e90a7..578265f4c 100644 --- a/apps/web-ele/src/components/table-action/icons.ts +++ b/apps/web-ele/src/components/table-action/icons.ts @@ -3,13 +3,14 @@ export const ACTION_ICON = { UPLOAD: 'lucide:upload', ADD: 'lucide:plus', EDIT: 'lucide:edit', - DELETE: 'lucide:trash', + DELETE: 'lucide:trash-2', REFRESH: 'lucide:refresh-cw', SEARCH: 'lucide:search', FILTER: 'lucide:filter', MORE: 'lucide:ellipsis-vertical', VIEW: 'lucide:eye', COPY: 'lucide:copy', + CLOSE: 'lucide:x', BOOK: 'lucide:book', AUDIT: 'lucide:file-check', }; diff --git a/apps/web-ele/src/components/table-action/table-action.vue b/apps/web-ele/src/components/table-action/table-action.vue index 7e127ef5e..649c6c7f7 100644 --- a/apps/web-ele/src/components/table-action/table-action.vue +++ b/apps/web-ele/src/components/table-action/table-action.vue @@ -1,5 +1,6 @@