diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/VolumeViewport.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/VolumeViewport.vue index 357d0791..91ae1046 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/VolumeViewport.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/VolumeViewport.vue @@ -234,7 +234,7 @@ export default { // 如果行向量主要在 X-Y 平面 (rowZ 很小),则为 Axial。 // 如果行向量主要在 X-Z 平面 (rowY 很小),则为 Sagittal。 // 为了简化,我们可以直接根据视线方向(法线)来判断。 - // 法线方向 = 行向量 × 列向量 + // 法线方向 = 行向量 × 列向量 const [colX, colY, colZ] = imageOrientationPatient.slice(3); const normalX = rowY * colZ - rowZ * colY; const normalY = rowZ * colX - rowX * colZ; @@ -488,8 +488,8 @@ export default { this.loading = true try { return await createImageIdsAndCacheMetaData({ - modality: obj.Modality, - imageIds: obj.ImageIds + modality: obj.Modality, + imageIds: obj.ImageIds }) } finally { this.loading = false