From d88143708375c191f1e9f0bc567ef1e18dbeaa1e Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期四, 31 八月 2023 16:02:17 +0800 Subject: [PATCH] 资源查询,资源管理修改 --- src/components/MapView/moonMap.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/MapView/moonMap.vue b/src/components/MapView/moonMap.vue index 3dbb2af..5358d65 100644 --- a/src/components/MapView/moonMap.vue +++ b/src/components/MapView/moonMap.vue @@ -184,7 +184,7 @@ Cesium.Cartographic.fromDegrees(that.longitude, that.latitude, 0) ) if (that.altHeight) { - that.altHeight = that.altHeight.toFixed(6); + that.altHeight = that.altHeight.toFixed(2); } } }, SmartEarth.Cesium.ScreenSpaceEventType.MOUSE_MOVE); @@ -219,7 +219,7 @@ globe.ellipsoid.cartesianToCartographic(rightPosition); var geodesic = new SmartEarth.Cesium.EllipsoidGeodesic(); geodesic.setEndPoints(leftCartographic, rightCartographic); - that.rate = geodesic.surfaceDistance.toFixed(6); //鍒嗚鲸鐜� + that.rate = geodesic.surfaceDistance.toFixed(2); //鍒嗚鲸鐜� }); }, -- Gitblit v1.9.3