From 28eabcf57517e503618d9217e8bf6cd4b6b96cc7 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期三, 10 五月 2023 18:43:33 +0800 Subject: [PATCH] 图层管理DEM切换,根据项目进行筛选;顶部菜单优化 --- src/components/navMenu.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/components/navMenu.vue b/src/components/navMenu.vue index ee0583c..7e356d3 100644 --- a/src/components/navMenu.vue +++ b/src/components/navMenu.vue @@ -152,7 +152,13 @@ document.body.addEventListener('click', () => { this.showFlag = null; }, false); - + // this.$bus.$on('closeMenuSecond', res => { + // this.showFlag = null; + // }) + window.addEventListener('message', (e) => { + console.log("e", e.data) + this.showFlag = null; + }) }, computed: {}, methods: { -- Gitblit v1.9.3