From bd594fd4e360d9017b8d9c4750634d1f1e8028bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=A2=A6=E8=BF=9C?= <1063331231@qq.com> Date: Thu, 31 Jul 2025 19:07:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E5=B0=B1=E5=B0=B1=E5=8A=A0=E8=BD=BD=E5=8A=A0=E6=B6=B2=E7=9A=84?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/index.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 006249c..b556b36 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -14,6 +14,14 @@ onMounted(async () => { loading.value = true await getSolutionList() loading.value = false + for (const data of channelList.value) { + if (data.solutionId && data.concentration) { + volumeMap.value[data.channelCode] = await queryCraftList({ + solutionId: data.solutionId, + concentration: Number(data.concentration), + }) + } + } }) const channelList = ref([])