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")})`; }