diff --git a/packages/vue/src/grid/src/cell/src/cell.ts b/packages/vue/src/grid/src/cell/src/cell.ts index cfe59646d..77cb67ed5 100644 --- a/packages/vue/src/grid/src/cell/src/cell.ts +++ b/packages/vue/src/grid/src/cell/src/cell.ts @@ -835,7 +835,12 @@ export const Cell = { }, renderOperationCell(h, params) { const { column, $table, row } = params - const { operationConfig = {} } = column + const { operationConfig = {}, slots } = column + + if (slots && slots.default) { + return slots.default(params, h) + } + const { buttons = [], render, max = 3, disabledClass = '' } = operationConfig const viewClass = $table.viewCls('operButton')