From 616b8ab8998bfbec69929152612dc94d3112c2a9 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期二, 10 十月 2023 16:56:26 +0800 Subject: [PATCH] 标绘查询修改,空间查询功能修改,图层管理数据加载方式修改 --- src/components/BarGraphAxisLine.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/BarGraphAxisLine.vue b/src/components/BarGraphAxisLine.vue index 1db8288..21bae23 100644 --- a/src/components/BarGraphAxisLine.vue +++ b/src/components/BarGraphAxisLine.vue @@ -1,6 +1,12 @@ <template> - <div class="Echarts_box" :style="{ width: width, height: height }"> - <div id="myEchartsBIG" style="width: 100%; height: 100%"></div> + <div + class="Echarts_box" + :style="{ width: width, height: height }" + > + <div + id="myEchartsBIG" + style="width: 100%; height: 100%" + ></div> </div> </template> <script lang="ts" setup> @@ -29,7 +35,6 @@ let dataLength; let data = []; onMounted(() => { - console.log(props.layerData); props.layerData.points.forEach((e, i) => { xAxisData.value.push(returnFloat1(e.len)); }); @@ -191,6 +196,7 @@ tooltip: { trigger: "axis", }, + yAxis: { type: "value", }, -- Gitblit v1.9.3