修改 编辑按钮显示禁用
This commit is contained in:
1
types/table.d.ts
vendored
1
types/table.d.ts
vendored
@@ -95,6 +95,7 @@ declare global {
|
||||
|
||||
// 按钮是否禁用,请返回布尔值
|
||||
disabled?: (row: TableRow, field: TableColumn) => boolean
|
||||
showDisabled?: (row: TableRow, field: TableColumn) => boolean
|
||||
// 自定义el-button属性
|
||||
attr?: Partial<Mutable<ButtonProps>>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user