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() }) })