接口数据
代码
getAlgorithmChart().then(res => {
console.log(res, 7777)
Object.keys(res.data).forEach(key => {
this.numList.forEach(el => {
if (el.name === key) {
el.label = res.data[key]
}
})
})
})