From bc1cd70c4d31104a73e8076d25b035f70764ec6f Mon Sep 17 00:00:00 2001 From: allenve Date: Mon, 8 Aug 2022 17:24:42 +0800 Subject: [PATCH] fix: crud2 CRUD2TableSchema mode value --- packages/amis/src/renderers/CRUD2.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/amis/src/renderers/CRUD2.tsx b/packages/amis/src/renderers/CRUD2.tsx index 7d7d37021..5aca3d921 100644 --- a/packages/amis/src/renderers/CRUD2.tsx +++ b/packages/amis/src/renderers/CRUD2.tsx @@ -183,7 +183,7 @@ export type CRUD2ListSchema = CRUD2CommonSchema & { } & Omit; export type CRUD2TableSchema = CRUD2CommonSchema & { - mode?: 'table'; + mode?: 'table-v2'; } & Omit; export type CRUD2Schema = CRUD2CardsSchema | CRUD2ListSchema | CRUD2TableSchema;