Merge "amis-saas-4921 颜色框-属性配置-拾色器-备选色,新增备选色,备选色未选择颜色,预览态下页面报错" into feat-optimize-4

This commit is contained in:
jinye 2022-06-22 12:51:59 +08:00 committed by iCode
commit 061e96c1be

View File

@ -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)
});
}