From 7860cd2d2dc0c1164a2f65a69081369d1abd6377 Mon Sep 17 00:00:00 2001
From: surprise <15810472099@163.com>
Date: 星期五, 13 十月 2023 00:34:46 +0800
Subject: [PATCH] 代码更新

---
 src/components/map/viewer.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/components/map/viewer.vue b/src/components/map/viewer.vue
index 602266b..e4dd6cd 100644
--- a/src/components/map/viewer.vue
+++ b/src/components/map/viewer.vue
@@ -124,7 +124,7 @@
               },
               duration: 10, //椋炶鏃堕棿8s
             });
-          }, 9000);
+          }, `9000`);
           that.setCesiumInit(true);
           // rpc.initRpc();
         }
@@ -141,9 +141,10 @@
       //鍦颁笅妯″紡璺濈鍙傛暟
       Viewer.scene.globe.translucency.frontFaceAlpha = 0.5;
       Viewer.scene.globe.undergroundColor = undefined;
+      
       mapMsg.init();
       rpc.clickToCoordinates();
-
+      mapMsg.setTime();
       //鏍囦細缂栬緫
       sgworld.Creator.SimpleGraphic.setEdit(true, {
         editProp: true,
@@ -353,12 +354,14 @@
   border-radius: 10px;
   cursor: pointer;
 }
+
 .bgbox {
   position: absolute;
   top: 0;
   left: 8px;
   z-index: -1;
 }
+
 .mid {
   position: absolute;
   top: 50%;

--
Gitblit v1.9.3