469,顺序排序

This commit is contained in:
gaoyuanwei 2022-07-07 16:46:48 +08:00
parent 617373eb8e
commit 73b9108c08
1 changed files with 4 additions and 0 deletions

View File

@ -147,6 +147,10 @@
break break
} }
}) })
let arr = ['组件服务', '应用资源', '基础设施', '数据资源', '知识库']
dataList.value.dataList.sort((a, b) => {
return arr.indexOf(a.type) - arr.indexOf(b.type)
})
}) })
let datas = ref([]) let datas = ref([])
let laiyuanDataList = ref([]) let laiyuanDataList = ref([])