能力云图

This commit is contained in:
851673013@qq.com 2022-07-01 17:05:15 +08:00
parent 418b5f1de7
commit d0bbe8d909
1 changed files with 5 additions and 1 deletions

View File

@ -144,7 +144,11 @@
const object = res.data.data.filter((item) => item.type === val.name)[0]
console.log('object', object)
if (object) {
val.num = object.amount
if (object.type == '满足率') {
val.num = object.amount * 100 + '%'
} else {
val.num = object.amount
}
}
})
const arr = res.data.data.filter((item) => item.resourceTop5)[0]