【自定义非dicom】绑定问题显示的小数取值与标记显示的值有差异
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-10-30 10:58:29 +08:00
parent 7f47936f8a
commit 342f135d23
1 changed files with 2 additions and 0 deletions

View File

@ -948,6 +948,8 @@ export default {
let ps = annotation.ps
if (prop === 'area') value = this.reRound(csUtils.roundNumber(value * ps * ps), this.digitPlaces)
if (prop === 'length' || prop === 'perimeter') value = this.reRound(csUtils.roundNumber(value * ps), this.digitPlaces)
} else if (this.isNoneDicom && value !== null) {
value = this.reRound(csUtils.roundNumber(value))
}
return value !== null
? parseFloat(value).toFixed(this.digitPlaces)