瀏覽代碼

fix: 6141 【bcwin网站】优化多钱包的打码量进度

Before 7 月之前
父節點
當前提交
67c519f417
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/app/[locale]/(TabBar)/profile/ProfileHeader.tsx

+ 1 - 1
src/app/[locale]/(TabBar)/profile/ProfileHeader.tsx

@@ -75,7 +75,7 @@ const Progress = (props: { percent: number }) => {
                     "--track-width": "0.0694rem",
                 }}
             />
-            <span className={"text-primary-color"}>{percent}%</span>
+            <span className={"text-primary-color"}>{percent.toFixed(2)}%</span>
         </div>
     );
 };