优化表格列的类型定义,简化操作列的函数参数
This commit is contained in:
@@ -23,7 +23,7 @@ const columns: TableBaseColumns = [
|
||||
title: '操作',
|
||||
fixed: 'right',
|
||||
key: 'operation',
|
||||
operations: (row: any) => [
|
||||
operations: row => [
|
||||
{
|
||||
contentText: '处理',
|
||||
type: 'primary',
|
||||
|
||||
Reference in New Issue
Block a user