whyczyk
2021-10-08 f82084fde5fe67ea93c81e34a395ba650f661766
地图跳转处理
1个文件已修改
17 ■■■■■ 已修改文件
src/components/indexPanel/InfoPanel.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/indexPanel/InfoPanel.vue
@@ -50,8 +50,23 @@
            }
        }
    },
    watch: {
        rightMenuVisible(value) {
            if (value) {
                document.body.addEventListener('click', this.closeMenu)
            } else {
                document.body.removeEventListener('click', this.closeMenu)
            }
        },
        'infos': {
            handler(val) {
                this.info = JSON.parse(JSON.stringify(val));
            },
            deep: true
        }
    },
    mounted() {
        this.info = this.infos
    },
    methods: {
        // 跳转到历史数据