diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue index df4a38e3..d9ac80f3 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -1657,11 +1657,13 @@ export default { annotation.data.label + '?' ) + let res = null if (annotation.markId) { - deleteCustomTag(annotation.markId) + res = await deleteCustomTag(annotation.markId) }else if (annotation.id) { - deleteCustomTag(annotation.id) + res = await deleteCustomTag(annotation.id) } + if (!res.isSuccess) return false } const index = this.markedSeriesIds.indexOf(annotation.seriesId) if (index !== -1) {