diff --git a/src/views/newMap/displayNew/index.vue b/src/views/newMap/displayNew/index.vue index 2e02bb7c0..2faf69d0b 100644 --- a/src/views/newMap/displayNew/index.vue +++ b/src/views/newMap/displayNew/index.vue @@ -4,7 +4,7 @@ - + @@ -22,7 +22,6 @@ import { getSessionStorage } from '@/utils/auth'; import { mapGetters } from 'vuex'; import { OperateMode } from '@/scripts/ConstDic'; -import { timeFormat } from '@/utils/date'; import MapSystemDraft from '@/views/newMap/mapsystemNew/index'; import MenuLesson from './lesson/index'; import MenuDemon from './menuDemon'; diff --git a/src/views/newMap/displayNew/menuDemon.vue b/src/views/newMap/displayNew/menuDemon.vue index 2a2901724..d33c99cad 100644 --- a/src/views/newMap/displayNew/menuDemon.vue +++ b/src/views/newMap/displayNew/menuDemon.vue @@ -51,6 +51,7 @@ :data-error="dataError" :offset-bottom="offsetBottom" @selectQuest="selectQuest" + @changeShowMap="changeShowMap" /> @@ -444,6 +445,9 @@ export default { }, quit() { window.close(); + }, + changeShowMap(flag) { + this.$emit('changeShowMap', flag); } } };