code refactor

This commit is contained in:
MaysWind
2025-01-27 15:37:55 +08:00
parent 8c0a9062a2
commit fd3457af84
7 changed files with 15 additions and 23 deletions
@@ -273,7 +273,7 @@ const chartOptions = computed<object>(() => {
});
function getDisplayCurrency(value: number | string, currencyCode: string): string {
return formatAmountWithCurrency(value, currencyCode) || '0';
return formatAmountWithCurrency(value, currencyCode);
}
function getDisplayAmount(amount: number, incomplete: boolean): string {