diff --git a/packages/amis-editor/src/plugin/Form/InputColor.tsx b/packages/amis-editor/src/plugin/Form/InputColor.tsx index 87a88cb71..ee5dd368b 100644 --- a/packages/amis-editor/src/plugin/Form/InputColor.tsx +++ b/packages/amis-editor/src/plugin/Form/InputColor.tsx @@ -156,7 +156,7 @@ export class ColorControlPlugin extends BasePlugin { key: `${color}-${index}`, color: convertColor(color, format) })), - pipeOut: (value: any[]) => value.map(({color}) => color) + pipeOut: (value: any[]) => value.map(({color = ''}) => color) }); }