From b1900c39b2fa09b97b982ff0fa5d1c3d2946b3b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Fri, 18 Oct 2024 10:48:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/resource_screen/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/resource_screen/index.vue b/src/views/resource_screen/index.vue index 7ddb953..ad776a0 100644 --- a/src/views/resource_screen/index.vue +++ b/src/views/resource_screen/index.vue @@ -154,14 +154,14 @@ export default { } // 云资源统计 const getResource = async () => { - const res = await getResourceCount({ type: state.vendorType, isPublic: state.isPublic }) + const res = await getResourceCount({ vendorType: state.vendorType, isPublic: state.isPublic }) if (res.success) { state.resourceCount = res.data } } // 云主机状态 const getHostCount = async () => { - const res = await getHostStatus({ type: state.vendorType, isPublic: state.isPublic }) + const res = await getHostStatus({ vendorType: state.vendorType, isPublic: state.isPublic }) if (res.success) { state.hostCount = res.data } @@ -175,14 +175,14 @@ export default { } // 申请趋势 const getApplyCount = async () => { - const res = await getResourceApply({ type: state.vendorType, isPublic: state.isPublic }) + const res = await getResourceApply({ vendorType: state.vendorType, isPublic: state.isPublic }) if (res.success) { state.applyTrendData = res.data } } // 使用趋势 const getUsedCount = async () => { - const res = await getResourceTrend({ type: state.vendorType, isPublic: state.isPublic }) + const res = await getResourceTrend({ vendorType: state.vendorType, isPublic: state.isPublic }) if (res.success) { state.usedTrendData = res.data }