ZhangXianQiang
2024-04-19 39e7d257caeae7c241544af7281be1d70747bb8a
src/views/screen/components/screen-map-three/index.vue
@@ -18,7 +18,6 @@
  watch: {
    loadEnd: {
      handler(newVal) {
        console.log(newVal);
        if(newVal) {
          world = new Experience(this.$refs.worldContainer);
        }
@@ -26,7 +25,12 @@
    }
  },
  mounted() {
  }
  },
  beforeDestroy() {
    world.destroy();
    world = null;
  },
}
</script>
@@ -38,6 +42,7 @@
  left: 0;
  top: 0;
  z-index: 0;
  .world {
    width: 100%;
    height: 100%;