标签:for val each class point style IV col dia
class Point { constructor(item) { this.value = item.value; this.name = item.name; this.icon = ‘circle‘; this.percent = item.percent; this.itemStyle = { normal: { color: item.itemStyle.normal.color } }; this.selected = item.selected } } let mm = [] tt.forEach((item) => { mm.push(new Point({ value: item.itemCount, name: item.diagnoseName, percent: item.percent, selected: item.isTrue, icon : ‘circle‘, itemStyle: { normal: { color: item.color } }, })) })
标签:for val each class point style IV col dia
原文地址:https://www.cnblogs.com/xuyan1/p/9122838.html