suerprisePlus
2024-10-23 559f0776123a2205863b5787d5b8e1e012d397d3
src/views/visual/mapView/index.vue
@@ -87,6 +87,7 @@
        this.showEarth = true;
        this.mapViewStart();
        this.$busEvent.$on('CHANGE_MAPINFO', (res) => {
            this.setMapInfo(res);
        });
    },
@@ -100,12 +101,15 @@
    methods: {
        setMapInfo(res) {
            // console.log(res);
            if (res.length > 0) {
            this.childObj = null
            if (res && res.length > 0) {
                this.childObj = res;
                setTimeout(() => {
                this.$nextTick(() => {
                    this.$refs && this.$refs.mapInfo && this.$refs.mapInfo.open();
                }, 200);
                })
            } else {
                return
            }
        },
        mapViewStart() {