mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-28 20:04:27 +08:00
(fix)(webapp)Fix the issue where two '%%' are displayed in the percentage presentation
0 —>0% but 0.9112->91.12%%
This commit is contained in:
@@ -43,8 +43,8 @@ const Table: React.FC<Props> = ({ data, size, loading, question, onApplyAuth })
|
|||||||
{`${
|
{`${
|
||||||
value
|
value
|
||||||
? formatByDataFormatType(value, dataFormatType, dataFormat)
|
? formatByDataFormatType(value, dataFormatType, dataFormat)
|
||||||
: 0
|
: '0%'
|
||||||
}%`}
|
}`}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user