From a487d4d82c38738665f1a4075062b1d9531425d5 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Tue, 16 Apr 2024 10:35:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=B1=E5=83=8F=E8=A7=86=E8=A7=92=E4=BF=A1?= =?UTF-8?q?=E6=81=AFslice=20location=E4=BF=9D=E7=95=99=E4=B8=A4=E4=BD=8D?= =?UTF-8?q?=E5=B0=8F=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dicom/DicomCanvas.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Dicom/DicomCanvas.vue b/src/components/Dicom/DicomCanvas.vue index b5f9304..857da1d 100644 --- a/src/components/Dicom/DicomCanvas.vue +++ b/src/components/Dicom/DicomCanvas.vue @@ -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)