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([])