riku
2025-04-17 9ca85dc3bd39864daf9528d746f4bc6a0963a4c0
src/components/grid/GridSearch.vue
@@ -17,7 +17,7 @@
            label="经纬度"
            :content="data.gridCell.longitude + ', ' + data.gridCell.latitude"
          />
          <DescriptionsListItem label="四至范围" content="/" />
          <!-- <DescriptionsListItem label="四至范围" content="/" /> -->
        </DescriptionsList>
        <el-tabs v-model="activeName" >
@@ -134,21 +134,11 @@
const data = computed(() => {
  if (gridStore.selectedGridCellAndDataDetail) {
    // const { gridCell, gridDataDetail } =
    //   gridStore.selectedGridCellAndDataDetail;
    // const res = [];
    // // 如果网格数据为融合数据,则需要同步展示出原始数据
    // if (gridDataDetail.mixData) {
    // }
    return {
      gridCell: gridStore.selectedGridCellAndDataDetail.gridCell,
      gridDataDetail: gridStore.selectedGridCellAndDataDetail.gridDataDetail,
      extData: gridStore.selectedGridCellAndDataDetail.extData
    };
    // console.log(gridStore.selectedGridCellAndDataDetail);
    // return undefined;
    // return gridStore.selectedGridCellAndDataDetail;
  } else {
    return undefined;
  }
@@ -158,6 +148,7 @@
  () => gridStore.selectedGridCellAndDataDetail,
  (nv, ov) => {
    if (nv != ov) {
      activeName.value = 'first';
      dialogVisible.value = true;
    }
  },