mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-23 17:50:25 +08:00
types(action-item): set label
optional
This commit is contained in:
parent
73654b7862
commit
8819af083c
@ -23,6 +23,7 @@
|
||||
- **Table** 修复启用`clickToRowSelect`时,点击行不会触发`selection-change`事件的问题
|
||||
- **Table** 修复全局配置`fetchSetting`可能会被局部配置意外修改的问题
|
||||
- **Form** 修复`submitButtonOptions`和`resetButtonOptions`的类型定义
|
||||
- **PopconfirmButton** 移除`Button`上多余的`title`
|
||||
|
||||
## 2.5.2(2021-06-27)
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user