diff --git a/src/views/map/index.vue b/src/views/map/index.vue index f36f9c3..fe409e2 100644 --- a/src/views/map/index.vue +++ b/src/views/map/index.vue @@ -1468,6 +1468,11 @@ export default { } // var cartesian = this.getCatesian3FromPX(movement.position) }, Cesium.ScreenSpaceEventType.LEFT_CLICK) + viewer.cesiumWidget.screenSpaceEventHandler.removeInputAction(Cesium.ScreenSpaceEventType.RIGHT_DOUBLE_CLICK) + viewer.cesiumWidget.screenSpaceEventHandler.removeInputAction(Cesium.ScreenSpaceEventType.RIGHT_CLICK) + document.addEventListener('contextmenu', function(event) { + event.preventDefault() + }) this.handler.setInputAction(movement => { const pick = viewer.scene.pick(movement.position) if (Cesium.defined(pick) && (pick.id.id)) { @@ -2060,6 +2065,7 @@ export default { if (this.gangkouActive === '00003' && this.CORP_INFO_ID === '035958e685cf4850bc40151c5e0617a6' && urlType === 'peoplePosition') { this.doUnSubscribe() this.clearMqttPoint('+/UwbBQ/') + this.removeTrajectory() } this.bottomOptionsList[pindex].list[index].check = false if (this.gangkouActive === '00004') {