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() })