fix: Progress widget with circular type is showing wrong value (#12667)

-- Output progress value as it is
This commit is contained in:
Paul Li 2022-04-07 18:09:35 +08:00 committed by GitHub
parent cb14819046
commit 7045416dd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -418,7 +418,7 @@ function CircularProgress(props: ProgressComponentProps) {
x={VIEWBOX_CENTER_X}
y={VIEWBOX_CENTER_Y}
>
{`${(value / MAX_VALUE) * 100}%`}
{`${value}%`}
</Label>
)}
</>