src/views/screen/components/screen-map-three/index.vue
@@ -9,8 +9,23 @@ let world = null; export default { name: 'ScreenMapThree', props: { loadEnd: { type: Boolean, default: false }, }, watch: { loadEnd: { handler(newVal) { console.log(newVal); if(newVal) { world = new Experience(this.$refs.worldContainer); } } } }, mounted() { world = new Experience(this.$refs.worldContainer); } } </script>