Commit b1fe8d51 authored by tangwei's avatar tangwei

停止下探

parent ac68792d
...@@ -1317,13 +1317,13 @@ class View3D extends Component { ...@@ -1317,13 +1317,13 @@ class View3D extends Component {
if (obj.userData && obj.userData.key === type) { if (obj.userData && obj.userData.key === type) {
if (!obj.isForceParent ) { if (!obj.isForceParent ) {
_this.outlineFactory.toggleOutline(obj); _this.outlineFactory.toggleOutline(obj);
if (pointType === 1) { // if (pointType === 1) {
_this.focusObject(obj, true); // _this.focusObject(obj, true);
setTimeout(() => {_this.executeOperate({ key: 'fitview' });}, 1200); // setTimeout(() => {_this.executeOperate({ key: 'fitview' });}, 1200);
} else { // } else {
// _this.focusObject(obj);
// }
_this.focusObject(obj); _this.focusObject(obj);
}
// 延迟显示告警点 // 延迟显示告警点
setTimeout(() => {_this.renderAlarmMarker(type, item);}, 1100); setTimeout(() => {_this.renderAlarmMarker(type, item);}, 1100);
} }
...@@ -1336,13 +1336,13 @@ class View3D extends Component { ...@@ -1336,13 +1336,13 @@ class View3D extends Component {
if (obj.userData && obj.userData.key === FLOOR.XY_FLOOR_3) { if (obj.userData && obj.userData.key === FLOOR.XY_FLOOR_3) {
if (!obj.isForceParent ) { if (!obj.isForceParent ) {
_this.outlineFactory.toggleOutline(obj); _this.outlineFactory.toggleOutline(obj);
if (pointType === 1) { // if (pointType === 1) {
_this.focusObject(obj, true); // _this.focusObject(obj, true);
setTimeout(() => {_this.executeOperate({ key: 'fitview' });}, 1200); // setTimeout(() => {_this.executeOperate({ key: 'fitview' });}, 1200);
} else { // } else {
// _this.focusObject(obj);
// }
_this.focusObject(obj); _this.focusObject(obj);
}
// 延迟显示告警点 // 延迟显示告警点
setTimeout(() => {_this.renderAlarmMarker(type, item);}, 1100); setTimeout(() => {_this.renderAlarmMarker(type, item);}, 1100);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment