diff --git a/packages/drip-table/src/layouts/table/index.tsx b/packages/drip-table/src/layouts/table/index.tsx index 3b34f1622..d0e6ce962 100644 --- a/packages/drip-table/src/layouts/table/index.tsx +++ b/packages/drip-table/src/layouts/table/index.tsx @@ -224,6 +224,9 @@ const hookColumRender = < }; function hookSchemaEventRaiser(schema: T, schemaFunctionPreprocessor: SandboxFunctionPreprocess, props: Record): T { + if (Array.isArray(schema)) { + return schema.map(v => schemaFunctionPreprocessor(v, props)) as T; + } if (schema && typeof schema === 'object') { return Object.fromEntries( Object.entries(schema)