From 285b9416c3b3c88b3a951c2c5aed4237186c498d Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 13 Jul 2021 09:31:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8C=89=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E7=BB=84=E7=BB=87=E9=BB=98=E8=AE=A4=E6=8A=98?= =?UTF-8?q?=E5=8F=A0=E6=A0=B7=E5=BC=8F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- o2web/source/x_component_Selector/Person.js | 1 + o2web/source/x_component_Selector/UnitWithType.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/o2web/source/x_component_Selector/Person.js b/o2web/source/x_component_Selector/Person.js index cd528b7a9d..d4d1527bf5 100644 --- a/o2web/source/x_component_Selector/Person.js +++ b/o2web/source/x_component_Selector/Person.js @@ -2869,6 +2869,7 @@ MWF.xApplication.Selector.Person.ItemCategory = new Class({ } }, overItem: function(){ + debugger; //if (!this.isSelected){ // this.node.setStyles(this.selector.css.selectorItem_over); // this.actionNode.setStyles(this.selector.css.selectorItemActionNode_over); diff --git a/o2web/source/x_component_Selector/UnitWithType.js b/o2web/source/x_component_Selector/UnitWithType.js index 290c16f56d..23b4a37019 100644 --- a/o2web/source/x_component_Selector/UnitWithType.js +++ b/o2web/source/x_component_Selector/UnitWithType.js @@ -362,6 +362,8 @@ MWF.xApplication.Selector.UnitWithType.ItemCategory = new Class({ } }, afterLoad: function(){ + if( this.actionNode )this.actionNode.setStyles(this.selector.css.selectorItemCategoryActionNode_collapse); + if( this.children )this.children.setStyle("display", "none"); if (this.level===1) this.clickItem(); var flag = false; this.data.woSubDirectUnitList.each(function(subData) { -- GitLab