Pārlūkot izejas kodu

设备类补充属性设置

YaolongHan 4 gadi atpakaļ
vecāks
revīzija
ea43401184
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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