月球大数据地理空间分析展示平台-【前端】-月球2期前端
Surpriseplus
2023-08-23 1ff13ceb222d4059252201504cd963df26cafec8
src/views/Index.vue
@@ -1,6 +1,8 @@
<template>
  <div class="body_box">
    <div id="cesiumContainer"></div>
    <div id="cesiumContainer">
    </div>
    <export-map
      v-if="layerExportshow"
      @SETexportMap="SETexportMap"
@@ -16,8 +18,10 @@
      v-if="layerLocationshow"
      @SETcoordClose="setCoordLocation"
    >
    </coord-location>
    <details-query v-if="store.state.details.showDetails">
    </details-query>
  </div>
</template>
@@ -43,6 +47,11 @@
import spatialBox from "@/views/query/SpatialQuery.vue";
//坐标定位
import CoordLocation from "@/views/query/CoordLocation.vue";
//阴影分析
import mapclock from "@/views/mapClock/index.vue";
//矢量数据信息弹窗
import detailsQuery from "@/views/query/detailsQuery.vue";
import router from "@/router";
import { useStore } from "vuex"; // 引入useStore 方法
@@ -64,7 +73,9 @@
const functionForJs = (res) => {
  switch (res.type) {
    case "exportMap":
      store.state.exportImgUrl = res.url;
      layerExportshow.value = res.value;
      break;
    case "spatialQuery":
      setSpatialQuery(res);