From bfd0d631b769842dd72a4f98805717c100172068 Mon Sep 17 00:00:00 2001 From: qubiaobiao <3294694717@qq.com> Date: Wed, 24 Jan 2024 16:19:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B8=B2=E6=9F=93=E5=B8=A7?= =?UTF-8?q?=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/render/components/EarthView.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/render/components/EarthView.vue b/src/render/components/EarthView.vue index 09af74b..0fff082 100644 --- a/src/render/components/EarthView.vue +++ b/src/render/components/EarthView.vue @@ -2590,6 +2590,9 @@ const onViewerReady = ({ viewer }) => { viewer.scene.primitives._primitives[ viewer.scene.primitives._primitives.length - 1 ]; + if(mypolylines._mode == 2){ + mypolylines._mode = 1; + } viewer.scene.primitives.show = false; let polylineowner = new CustomPolyline(mypolylines); let newprimitive = new CustomPrimitive(viewer.scene.primitives._primitives[10]);