From 82c80b71cc97d928bff7c85db90ed8c3fa6b9a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E9=A3=9E?= Date: Fri, 23 Feb 2024 17:15:42 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=85=E7=89=87=E6=BB=91=E5=9D=97=E5=9C=A8ca?= =?UTF-8?q?nvas=E5=A4=96=E6=BB=91=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trials-panel/reading/dicoms/components/DicomCanvas.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms/components/DicomCanvas.vue b/src/views/trials/trials-panel/reading/dicoms/components/DicomCanvas.vue index 8273b0fd..ff6c26d7 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/DicomCanvas.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/DicomCanvas.vue @@ -7,7 +7,6 @@ element-loading-background="rgba(0, 0, 0, 0.8)" style="position:relative;" class="cornerstone-element" - @mousemove="sliderMousemove" @mouseup="sliderMouseup" @contextmenu.prevent="onContextmenu" > @@ -338,9 +337,9 @@ export default { document.addEventListener('mouseup', () => { this.sliderMouseup() }) - // document.addEventListener('mousemove', () => { - // this.sliderMousemove() - // }) + document.addEventListener('mousemove', (e) => { + this.sliderMousemove(e) + }) var digitPlaces = Number(localStorage.getItem('digitPlaces')) this.digitPlaces = digitPlaces === -1 ? this.digitPlaces : digitPlaces this.type = this.$router.currentRoute.query.type ? this.$router.currentRoute.query.type : ''