diff --git a/CHANGELOG.zh_CN.md b/CHANGELOG.zh_CN.md index 188545cb2b1..2a64b8de94e 100644 --- a/CHANGELOG.zh_CN.md +++ b/CHANGELOG.zh_CN.md @@ -23,6 +23,7 @@ - **Table** 修复启用`clickToRowSelect`时,点击行不会触发`selection-change`事件的问题 - **Table** 修复全局配置`fetchSetting`可能会被局部配置意外修改的问题 - **Form** 修复`submitButtonOptions`和`resetButtonOptions`的类型定义 +- **PopconfirmButton** 移除`Button`上多余的`title` ## 2.5.2(2021-06-27) diff --git a/src/components/Table/src/types/tableAction.ts b/src/components/Table/src/types/tableAction.ts index 0fd837fdd42..3566d240a78 100644 --- a/src/components/Table/src/types/tableAction.ts +++ b/src/components/Table/src/types/tableAction.ts @@ -3,7 +3,7 @@ import { TooltipProps } from 'ant-design-vue/es/tooltip/Tooltip'; import { RoleEnum } from '/@/enums/roleEnum'; export interface ActionItem extends ButtonProps { onClick?: Fn; - label: string; + label?: string; color?: 'success' | 'error' | 'warning'; icon?: string; popConfirm?: PopConfirm;