月球大数据地理空间分析展示平台-【前端】-月球2期前端
WX
2023-09-18 2e81dd5430b7a5b27c081b576889010f06f4bd48
数值调整
已修改2个文件
4 ■■■■ 文件已修改
src/components/BarGraph.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/plotting/plottingInquire.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BarGraph.vue
@@ -169,7 +169,7 @@
          backgroundColor: "#6a7985",
        },
      },
      formatter: "距离:{b}m <br> 数值:{c}", //{a}(系列名称),{b}(数据项名称),{c}(数值), {d}(百分比)
      formatter: "数值:{c} <br> 距离:{b}m", //{a}(系列名称),{b}(数据项名称),{c}(数值), {d}(百分比)
    },
    yAxis: {
      type: "value",
src/views/plotting/plottingInquire.vue
@@ -392,7 +392,7 @@
  if (dt.code !== 200) {
    return ElMessage.error("查询错误");
  }
  console.log(dt);
  dt.result.forEach((e) => {
    if (e.code != 200) {
      e.avg = "-";