style(table): 完善ts定义

This commit is contained in:
roymondchen 2024-09-05 14:29:26 +08:00 committed by roymondchen
parent 54c8169c34
commit 595d3cc7ca

View File

@ -19,7 +19,7 @@
import { FormConfig, FormValue } from '@tmagic/form';
export interface ColumnActionConfig {
type?: 'delete' | 'copy' | 'edit';
type?: 'delete' | 'copy' | 'edit' | string;
buttonType?: string;
display?: (row: any) => boolean;
text?: string | ((row: any) => string);