修改商品标签显示

v1.0.0
于肖磊 2024-08-27 11:27:25 +08:00
parent eacbfa9c4b
commit 963510f0b8
1 changed files with 2 additions and 0 deletions

View File

@ -354,6 +354,8 @@ const icon_style = (item: { bg_color: string; color: string; br_color: string; }
let style = `background: ${item.bg_color};color: ${item.color};`;
if (!isEmpty(item.br_color)) {
style += `border: 1px solid ${item.br_color};`
} else {
style += `border: 1px solid ${item.bg_color};`
}
return style;
}