影像视角信息slice location保留两位小数

main
caiyiling 2024-04-16 10:35:36 +08:00
parent 23f2ea7a3f
commit a487d4d82c
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ export default {
this.dicomInfo.zoom = viewport.scale.toFixed(4)
var data = e.detail.image.data
const position = data.string('x00201041')
this.dicomInfo.location = position
this.dicomInfo.location = parseFloat(position).toFixed(2)
},
getOrientationMarker(element) {
const enabledElement = cornerstone.getEnabledElement(element)