From 8a88a64c36234122b0f69ab8b1eec03196b04b48 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 1 Apr 2026 09:35:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=94=E4=BE=8B=E5=B0=BA=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=94=BE=E5=A4=A7=E7=BC=A9=E5=B0=8F=E6=8A=A5=E9=94=99=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms3D/components/ReadPage.vue | 15 ++++----------- .../reading/dicoms3D/components/Segmentations.vue | 6 +++--- .../dicoms3D/components/tools/ScaleOverlayTool.js | 1 + 3 files changed, 8 insertions(+), 14 deletions(-) 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') - }} + }}