From 22560acd80d6b611fbd63bd60a9b747ea0c3b3cf Mon Sep 17 00:00:00 2001 From: liuxianghui <519646741@qq.com> Date: Fri, 12 Nov 2021 17:31:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E6=B2=B9=E6=9C=BA=E9=80=89=E4=B8=ADbu?= =?UTF-8?q?g=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../facilityinfoinscene-window/facilityinfoinscene-window.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/babylon/view/facilityinfoinscene-window/facilityinfoinscene-window.ts b/src/app/babylon/view/facilityinfoinscene-window/facilityinfoinscene-window.ts index 3250cd0..4e715ea 100644 --- a/src/app/babylon/view/facilityinfoinscene-window/facilityinfoinscene-window.ts +++ b/src/app/babylon/view/facilityinfoinscene-window/facilityinfoinscene-window.ts @@ -98,6 +98,7 @@ export class FacilityInfoInSceneWindow extends UIBase { { if (this.currentFacility != null) { for (let i = 0; i < this.currentFacility.length; i++) { + console.log("取消选中", facilityInfoUIItem.getName()); this.currentFacility[i].onSelect(false); } this.currentFacility = []; @@ -530,7 +531,8 @@ export class FacilityInfoInSceneWindow extends UIBase { //this.playJYJSelectEffect(true, result); let facilityItem: FacilityInfoUIItem = FacilityInfoInSceneWindow.instance.getFacilityItem(result); console.log("场景中选中设备", facilityItem); //通知前端 - facilityItem.onSelect(true); + this.selectFacilityItem(facilityItem); + // facilityItem.onSelect(true); //FacilityInfoInSceneWindow.instance.selectFacilityItemToThree([facilityItem], true); //console.log(facilityItem.getHeadUIPos()); }