This commit is contained in:
2022-12-15 10:14:49 +08:00
parent c9fd3d4baf
commit c299e62f38
4 changed files with 4 additions and 4 deletions

View File

@@ -122,7 +122,7 @@ const _sfc_main = defineComponent({
if (r) {
return z + "." + r;
} else {
return z;
return isNaN(z) ? 0 : z;
}
};
watch(() => props.type, () => {