优化表格列的类型定义,简化操作列的函数参数

This commit is contained in:
2025-12-17 17:04:42 +07:00
parent 773c916796
commit 8f0d7ba9a7
2 changed files with 13 additions and 13 deletions

View File

@@ -23,7 +23,7 @@ const columns: TableBaseColumns = [
title: '操作',
fixed: 'right',
key: 'operation',
operations: (row: any) => [
operations: row => [
{
contentText: '处理',
type: 'primary',