antd Progress进度条百分百时显示数值100%
进度条图标显示百分比进度,100%显示“100%”,而非图标 “✓”
如下:
改为:
<Progress trailColor={index===0?'rgba(255,134,15,0.2)':(index===1?'rgba(247,209,10,0.2)':'rgba(57,255,255,0.2)')} strokeColor={index === 0 ? '#FF860F' : (index === 1 ? '#F7D10A' : '#39FFFF')} type="circle" percent={parseInt(item.percent)} format={(percent) => percent === 100 ? '100%' : `${percent}`} width={57} />