From c1008810d66ce5f10343e3d831e0f9b9f4c8fbdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E9=A3=9E?= Date: Fri, 23 Feb 2024 17:14:39 +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 --- .../reading/dicoms/customize/CustomizeDicomCanvas.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomCanvas.vue b/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomCanvas.vue index 021eb599..2430b365 100644 --- a/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomCanvas.vue +++ b/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomCanvas.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" > @@ -328,9 +327,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 : ''