From 73b9108c08168987baa46bdb8e19e407392cdca1 Mon Sep 17 00:00:00 2001 From: gaoyuanwei <2826352639@qq.com> Date: Thu, 7 Jul 2022 16:46:48 +0800 Subject: [PATCH] =?UTF-8?q?469,=E9=A1=BA=E5=BA=8F=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../abilityStatistics/components/ResourceAggregation.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/front/src/views/abilityStatistics/components/ResourceAggregation.vue b/front/src/views/abilityStatistics/components/ResourceAggregation.vue index a892d2b9..837b6885 100644 --- a/front/src/views/abilityStatistics/components/ResourceAggregation.vue +++ b/front/src/views/abilityStatistics/components/ResourceAggregation.vue @@ -147,6 +147,10 @@ break } }) + let arr = ['组件服务', '应用资源', '基础设施', '数据资源', '知识库'] + dataList.value.dataList.sort((a, b) => { + return arr.indexOf(a.type) - arr.indexOf(b.type) + }) }) let datas = ref([]) let laiyuanDataList = ref([])