diff --git a/src/views/map/mapdraft/mapedit/index.vue b/src/views/map/mapdraft/mapedit/index.vue index d10951d93..78df97feb 100644 --- a/src/views/map/mapdraft/mapedit/index.vue +++ b/src/views/map/mapdraft/mapedit/index.vue @@ -243,9 +243,10 @@ export default { x: em.clientX, y: em.clientY }; - var menu = getDeviceMenuByDeviceType('Cancel'); - - this.$store.dispatch('menuOperation/setPopMenu', { position: this.point, menu: menu }); + if (!em.deviceType) { + var menu = getDeviceMenuByDeviceType('Cancel'); + this.$store.dispatch('menuOperation/setPopMenu', { position: this.point, menu: menu }); + } }, saveMapEvent() { if (this.$refs.jlmapVisual) {