From ad978983e8eaadb76a4ccb2d15cb632cdb78a45c Mon Sep 17 00:00:00 2001 From: gaohaifeng Date: Wed, 27 Aug 2025 21:08:48 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=9B=BE=E8=A1=A8=E7=BB=84=E4=BB=B6):=20?= =?UTF-8?q?=E6=9B=BF=E6=8D=A2mock=E6=95=B0=E6=8D=AE=E4=B8=BA=E7=9C=9F?= =?UTF-8?q?=E5=AE=9EAPI=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加axios依赖并实现API数据获取逻辑 移除mock数据文件和相关转换函数 添加onMounted钩子初始化图表数据 --- .../LineGraph01Haz/index.vue | 189 +++++++++--------- 1 file changed, 97 insertions(+), 92 deletions(-) diff --git a/src/packages/components/Charts/HazardousChemicalsSpace/LineGraph01Haz/index.vue b/src/packages/components/Charts/HazardousChemicalsSpace/LineGraph01Haz/index.vue index 82bbd63..580b99e 100644 --- a/src/packages/components/Charts/HazardousChemicalsSpace/LineGraph01Haz/index.vue +++ b/src/packages/components/Charts/HazardousChemicalsSpace/LineGraph01Haz/index.vue @@ -39,7 +39,7 @@