feat:二维码优化和保存

This commit is contained in:
Developer
2026-03-19 17:00:35 +08:00
parent 46796d3d6d
commit f1c040de68
5 changed files with 127 additions and 100 deletions

View File

@@ -1,6 +1,7 @@
export function formatCount(n: number): string {
if (n >= 100_000_000) return (n / 100_000_000).toFixed(1) + '亿';
if (n >= 10_000) return (n / 10_000).toFixed(1) + '万';
return String(n);
}