1
continuous-integration/drone/push Build is passing Details

main
caiyiling 2026-05-08 17:21:33 +08:00
parent 197f17fc99
commit 9da7c1a159
2 changed files with 3 additions and 6 deletions

View File

@ -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',
// 音频/视频

View File

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