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 46d47d1a..943c0942 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -762,7 +762,6 @@ export default { lastUpper: null, hasFusionUpperInitialized: false, timer: null, - timeNum: 0, FullTimerOut: null, isDelay: false } @@ -2826,22 +2825,17 @@ export default { if (this.timer) { clearInterval(this.timer) this.timer = null - this.timeNum = 0 } let index = null - this.timer = setInterval(() => { - this.timeNum++ + this.timer = setTimeout(() => { index = index || index === 0 ? index : this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].series.SliceIndex const renderingEngine = getRenderingEngine(renderingEngineId) renderingEngine.resize(true, false) renderingEngine.render() this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setFullScreen(index) - if (this.timeNum >= 3) { - clearInterval(this.timer) - this.timer = null - this.timeNum = 0 - } - }, 500) + clearTimeout(this.timer) + this.timer = null + }, 100) }, setDelay(time) { if (this.FullTimerOut) return false @@ -3962,7 +3956,6 @@ export default { if (this.timer) { clearInterval(this.timer) this.timer = null - this.timeNum = 0 } if (this.FullTimerOut) { clearTimeout(this.FullTimerOut) diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue index 634c0b10..70eb81a4 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue @@ -120,7 +120,7 @@ {{ $t('trials:reading:Segmentations:title:InactiveSegmentationsShow') - }} + }}