From 595d3cc7ca31a4c7c0e704548aba03b79539a173 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Thu, 5 Sep 2024 14:29:26 +0800 Subject: [PATCH] =?UTF-8?q?style(table):=20=E5=AE=8C=E5=96=84ts=E5=AE=9A?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/table/src/schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/table/src/schema.ts b/packages/table/src/schema.ts index abeefce9..83b69a92 100644 --- a/packages/table/src/schema.ts +++ b/packages/table/src/schema.ts @@ -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);