Explorar el Código

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

Before hace 7 meses
padre
commit
67c519f417
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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>
     );
 };