|
@@ -63,7 +63,7 @@ export default {
|
|
|
this.drawMainScene = new DivideFloorScene();
|
|
|
this.canvasLoading = true;
|
|
|
this.drawMainScene.getFloorData('/modelapi/base-graph/query', { ModelId: ModelId }).then(res => {
|
|
|
- console.log(this)
|
|
|
+ // console.log(this)
|
|
|
this.getGraphtSuc(res);
|
|
|
})
|
|
|
},
|
|
@@ -129,7 +129,7 @@ export default {
|
|
|
this.view.scene.spaceList.forEach(item => {
|
|
|
for(let deviceItem of this.deviceList) {
|
|
|
if(deviceItem.LocationJson && item.contains(deviceItem.LocationJson.X, -deviceItem.LocationJson.Y)){//注:坐标体系不同,Y坐标取反
|
|
|
- item.selected = true
|
|
|
+ item.highLightFlag = true
|
|
|
break
|
|
|
}
|
|
|
}
|
|
@@ -195,7 +195,7 @@ export default {
|
|
|
this.highLightPoint()
|
|
|
} else {
|
|
|
this.view.scene.spaceList.forEach(item => {
|
|
|
- item.selected = false
|
|
|
+ item.highLightFlag = false
|
|
|
})
|
|
|
}
|
|
|
}
|