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

main
caiyiling 2026-05-28 10:45:29 +08:00
parent e4d731222b
commit 016a5e93ea
1 changed files with 2 additions and 2 deletions

View File

@ -1959,7 +1959,7 @@ export default {
if (annotation.metadata.toolName.includes('histogram_')) return this.$refs.histogram.initToolValue(annotation)
if (this.readingTaskState === 2) return
if (annotation.metadata.toolName === 'PlanarFreehandROI' && !annotation.data.contour.closed) return
let viewportIndex = this.fusion ? 2 : this.activeViewportIndex
let viewportIndex = this.isFusion ? 2 : this.activeViewportIndex
const series = this.$refs[`${this.viewportKey}-${viewportIndex}`][0].series
if (series && series.TaskInfo.VisitTaskId && series.TaskInfo.VisitTaskId === this.taskInfo.VisitTaskId) {
const referencedImageId = annotation.metadata.referencedImageId
@ -2042,7 +2042,7 @@ export default {
}
if (annotation.metadata.segmentationId) return
if (annotation.metadata.toolName === 'PlanarFreehandROI' && !annotation.data.contour.closed) return
let viewportIndex = this.fusion ? 2 : this.activeViewportIndex
let viewportIndex = this.isFusion ? 2 : this.activeViewportIndex
const series = this.$refs[`${this.viewportKey}-${viewportIndex}`][0].series
if (series && series.TaskInfo.VisitTaskId && series.TaskInfo.VisitTaskId === this.taskInfo.VisitTaskId) {
const referencedImageId = annotation.metadata.referencedImageId