Skip to content

Commit

Permalink
types(action-item): set label optional
Browse files Browse the repository at this point in the history
  • Loading branch information
mynetfan committed Jul 2, 2021
1 parent 73654b7 commit 8819af0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- **Table** 修复启用`clickToRowSelect`时,点击行不会触发`selection-change`事件的问题
- **Table** 修复全局配置`fetchSetting`可能会被局部配置意外修改的问题
- **Form** 修复`submitButtonOptions``resetButtonOptions`的类型定义
- **PopconfirmButton** 移除`Button`上多余的`title`

## 2.5.2(2021-06-27)

Expand Down
2 changes: 1 addition & 1 deletion src/components/Table/src/types/tableAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8819af0

Please sign in to comment.