Browse Source

[修改] 设置图标状态参数修改为数组

develop
徐振升 5 years ago
parent
commit
4b00e60f71
  1. 6
      src/app/working-area/working-area.component.ts

6
src/app/working-area/working-area.component.ts

@ -261,8 +261,10 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
* @param id ID
* @param b /
*/
public setIconVisible(id: string, b: boolean) {
this.backgroundImage.getChildByName(id).visible = b;
public setIconVisible(ids: string[], b: boolean) {
ids.forEach(item => {
this.backgroundImage.getChildByName(item).visible = b;
});
}
/**
*

Loading…
Cancel
Save