This commit is contained in:
Theluyuan 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) { if (r) {
return z + "." + r; return z + "." + r;
} else { } else {
return z; return isNaN(z) ? 0 : z;
} }
}; };
watch(() => props.type, () => { watch(() => props.type, () => {

View File

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

View File

@ -87,7 +87,7 @@ const formatMoney = function (s: string) {
return z+ "." + r; return z+ "." + r;
}else{ }else{
return z return isNaN(z) ? 0 : z;
} }
} }

File diff suppressed because one or more lines are too long