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 cbb79b7f..72f555fc 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -1657,13 +1657,13 @@ export default { annotation.data.label + '?' ) - let res = null if (annotation.markId) { - res = await deleteCustomTag(annotation.markId) + let res = await deleteCustomTag(annotation.markId) + if (!res.IsSuccess) return false }else if (annotation.id) { - res = await deleteCustomTag(annotation.id) + let res = await deleteCustomTag(annotation.id) + if (!res.IsSuccess) return false } - if (!res.isSuccess) return false } const index = this.markedSeriesIds.indexOf(annotation.seriesId) if (index !== -1) {