From 1ca5cf5169426ff7e064aa202461af7657d84d56 Mon Sep 17 00:00:00 2001 From: liqi <1174845810@qq.com> Date: Sun, 6 Apr 2025 10:03:55 +0800 Subject: [PATCH] 1 --- src/views/contentData/Footer/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/contentData/Footer/index.vue b/src/views/contentData/Footer/index.vue index d1189b2..a5f4ff9 100644 --- a/src/views/contentData/Footer/index.vue +++ b/src/views/contentData/Footer/index.vue @@ -32,12 +32,12 @@ export default { if (value === 1) { console.log(window.marsMap, "window.marsMap"); window.marsMap.basemap = 2022; - window.marsMap.scene.morphTo2D(); + window.marsMap.scene.morphTo2D(0); this.$refs.leftBtn.style.background = `url(${require("@/assets/img/left-hover.png")})`; this.$refs.rightBtn.style.background = `url(${require("@/assets/img/right-nohover.png")})`; } else { window.marsMap.basemap = 2021; - window.marsMap.scene.morphTo3D(); + window.marsMap.scene.morphTo3D(0); this.$refs.leftBtn.style.background = `url(${require("@/assets/img/left-nohover.png")})`; this.$refs.rightBtn.style.background = `url(${require("@/assets/img/right-hover.png")})`; }