mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
Merge "amis-saas-4921 颜色框-属性配置-拾色器-备选色,新增备选色,备选色未选择颜色,预览态下页面报错" into feat-optimize-4
This commit is contained in:
commit
061e96c1be
@ -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)
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user