Commit 8819af083c80389453153c2b5f84b3bd1e408ba5
1 parent
73654b78
types(action-item): set `label` optional
Showing
2 changed files
with
2 additions
and
1 deletions
CHANGELOG.zh_CN.md
... | ... | @@ -23,6 +23,7 @@ |
23 | 23 | - **Table** 修复启用`clickToRowSelect`时,点击行不会触发`selection-change`事件的问题 |
24 | 24 | - **Table** 修复全局配置`fetchSetting`可能会被局部配置意外修改的问题 |
25 | 25 | - **Form** 修复`submitButtonOptions`和`resetButtonOptions`的类型定义 |
26 | +- **PopconfirmButton** 移除`Button`上多余的`title` | |
26 | 27 | |
27 | 28 | ## 2.5.2(2021-06-27) |
28 | 29 | ... | ... |
src/components/Table/src/types/tableAction.ts
... | ... | @@ -3,7 +3,7 @@ import { TooltipProps } from 'ant-design-vue/es/tooltip/Tooltip'; |
3 | 3 | import { RoleEnum } from '/@/enums/roleEnum'; |
4 | 4 | export interface ActionItem extends ButtonProps { |
5 | 5 | onClick?: Fn; |
6 | - label: string; | |
6 | + label?: string; | |
7 | 7 | color?: 'success' | 'error' | 'warning'; |
8 | 8 | icon?: string; |
9 | 9 | popConfirm?: PopConfirm; | ... | ... |