能力云图

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,8 +144,12 @@
const object = res.data.data.filter((item) => item.type === val.name)[0] const object = res.data.data.filter((item) => item.type === val.name)[0]
console.log('object', object) console.log('object', object)
if (object) { if (object) {
if (object.type == '满足率') {
val.num = object.amount * 100 + '%'
} else {
val.num = object.amount val.num = object.amount
} }
}
}) })
const arr = res.data.data.filter((item) => item.resourceTop5)[0] const arr = res.data.data.filter((item) => item.resourceTop5)[0]
console.log('数据资源数据===================>', arr) console.log('数据资源数据===================>', arr)