浏览代码

设备类补充属性设置

YaolongHan 4 年之前
父节点
当前提交
ea43401184
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      persagy-web-big/src/items/SEquipItem.ts

+ 1 - 0
persagy-web-big/src/items/SEquipItem.ts

@@ -107,6 +107,7 @@ export class SEquipItem extends SIconTextItem {
             }
 
             item.font.size = val.font ? val.font : 12;
+            item.backgroundColor = val.backgroundColor ? new SColor(val.backgroundColor) : SColor.Transparent;
             item.isTransform = false;
             item.showSelect = false;
             item.color = val.color