瀏覽代碼

style: add comma to quota stat

JustSong 2 年之前
父節點
當前提交
2eee97e9b6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>