From 9cac4972e5cbf06ff74c5001add546036d036583 Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Mon, 3 Jun 2024 11:14:51 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=8D=A1=E9=A1=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/components/material.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/home/components/material.vue b/src/views/home/components/material.vue index aa32fce7b..3931be20c 100644 --- a/src/views/home/components/material.vue +++ b/src/views/home/components/material.vue @@ -222,8 +222,8 @@ const lineIndex = ref(0) const materialData = ref() // 获取原料管理员数据 -const getMaterialData = async () => { - await IndexApi.getMaterialData().then((res) => { +const getMaterialData = () => { + IndexApi.getMaterialData().then((res) => { materialData.value = res getJobCharts() })