From 9da7c1a159a3530f853664b41c59cdcfc3af8fb3 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Fri, 8 May 2026 17:21:33 +0800 Subject: [PATCH] 1 --- src/utils/oss.js | 2 +- .../trials-panel/reading/dicoms/components/DicomViewer.vue | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/utils/oss.js b/src/utils/oss.js index 8bb280aa..119a371f 100644 --- a/src/utils/oss.js +++ b/src/utils/oss.js @@ -383,7 +383,7 @@ function mimeTypeToExt(mimeType) { 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'docx', 'application/vnd.ms-excel': 'xls', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'xlsx', - 'application/vnd.ms-powerpoint': '.ppt', + 'application/vnd.ms-powerpoint': 'ppt', 'application/vnd.openxmlformats-officedocument.presentationml.presentation': 'pptx', 'text/plain': 'txt', // 音频/视频 diff --git a/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue b/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue index aabe0c54..d7bdb6a0 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue @@ -1066,11 +1066,8 @@ export default { DicomEvent.$on('imageLocation', async (measuredData) => { return new Promise(async resolve => { if (!measuredData) return - // await this.imageLocation(measuredData) - const shouldRelocate = this.shouldRelocateBeforeScreenshot(measuredData) - if (shouldRelocate) { - await this.imageLocation(measuredData) - } + + await this.imageLocation(measuredData) resolve() }) })