diff --git a/src/components/CountTo/src/CountTo.vue b/src/components/CountTo/src/CountTo.vue index c7c4b2ed..7de33616 100644 --- a/src/components/CountTo/src/CountTo.vue +++ b/src/components/CountTo/src/CountTo.vue @@ -84,7 +84,7 @@ } function formatNumber(num: number | string) { - if (!num) { + if (!num && num !== 0) { return ''; } const { decimals, decimal, separator, suffix, prefix } = props;