suerprisePlus
2024-07-01 f76b96c26b878840ecc80b79d1e28e477d5573e6
src/views/visual/mapView/index.vue
@@ -31,6 +31,7 @@
            <layer-manager ref="layerManager"></layer-manager>
            <location ref="location"></location>
            <knowledge ref="knowledge"></knowledge>
            <lineRoaming ref="lineRoaming"></lineRoaming>
        </div>
    </div>
</template>
@@ -42,10 +43,11 @@
import menuManager from '@/assets/js/mapSdk/menuManager.js';
import location from './location.vue';
import knowledge from './knowledge.vue';
import lineRoaming from './lineRoaming.vue';
export default {
    name: 'mapView',
    components: { layerManager, location, knowledge },
    components: { layerManager, location, knowledge, lineRoaming },
    data() {
        return {
            menuIsShow: false,
@@ -75,9 +77,7 @@
            this.setPopCloseAll();
            const obj = menuManager.init(command);
            if (obj) {
                this.setPopShow(obj);
            }
        },
        setPopCloseAll() {
@@ -95,6 +95,9 @@
                    break;
                case '知识图谱':
                    this.$refs && this.$refs.knowledge && this.$refs.knowledge.open();
                    break;
                case '线路漫游':
                    this.$refs && this.$refs.lineRoaming && this.$refs.lineRoaming.open();
                    break;
                default:
                    break;
@@ -114,7 +117,7 @@
    .menuBox {
        position: absolute;
        z-index: 99999;
        z-index: 40;
        top: 20px;
        right: 2px;
        border-radius: 0 6px 6px 0;