修改 编辑按钮显示禁用

This commit is contained in:
GGJ
2024-06-24 17:41:54 +08:00
parent 1487f5ceea
commit fac32cd2e0
18 changed files with 63 additions and 67 deletions

1
types/table.d.ts vendored
View File

@@ -95,6 +95,7 @@ declare global {
// 按钮是否禁用,请返回布尔值
disabled?: (row: TableRow, field: TableColumn) => boolean
showDisabled?: (row: TableRow, field: TableColumn) => boolean
// 自定义el-button属性
attr?: Partial<Mutable<ButtonProps>>
}