types(action-item): set label optional

This commit is contained in:
无木 2021-07-02 15:45:22 +08:00
parent 73654b7862
commit 8819af083c
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@
- **Table** 修复启用`clickToRowSelect`时,点击行不会触发`selection-change`事件的问题
- **Table** 修复全局配置`fetchSetting`可能会被局部配置意外修改的问题
- **Form** 修复`submitButtonOptions`和`resetButtonOptions`的类型定义
- **PopconfirmButton** 移除`Button`上多余的`title`
## 2.5.2(2021-06-27)

View File

@ -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;