Parcourir la source

style: add comma to quota stat

JustSong il y a 2 ans
Parent
commit
2eee97e9b6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      web/src/pages/TopUp/index.js

+ 1 - 1
web/src/pages/TopUp/index.js

@@ -80,7 +80,7 @@ const TopUp = () => {
         <Grid.Column>
           <Statistic.Group widths='one'>
             <Statistic>
-              <Statistic.Value>{userQuota}</Statistic.Value>
+              <Statistic.Value>{userQuota.toLocaleString()}</Statistic.Value>
               <Statistic.Label>剩余额度</Statistic.Label>
             </Statistic>
           </Statistic.Group>