From 1d7429f54128278a545b37bb8b64dc007d07ecef Mon Sep 17 00:00:00 2001 From: "liu.shiyi" Date: Fri, 10 Nov 2023 14:00:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BC=98=E5=8C=96=E6=A1=86=E9=80=89?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=9C=89=E6=97=B6=E9=80=89=E4=B8=8D=E4=B8=8A?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data-room-ui/packages/BigScreenDesign/MouseSelect/index.vue | 6 +++--- data-room-ui/packages/BigScreenDesign/index.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data-room-ui/packages/BigScreenDesign/MouseSelect/index.vue b/data-room-ui/packages/BigScreenDesign/MouseSelect/index.vue index 3f94b76a..5e5e6756 100644 --- a/data-room-ui/packages/BigScreenDesign/MouseSelect/index.vue +++ b/data-room-ui/packages/BigScreenDesign/MouseSelect/index.vue @@ -143,9 +143,9 @@ export default { if (event.button === 0 && this.isSelecting) { this.isSelecting = false if (newTime - time < 300) { - newTime = 0 - time = 0 - return + // newTime = 0 + // time = 0 + // return } newTime = 0 time = 0 diff --git a/data-room-ui/packages/BigScreenDesign/index.vue b/data-room-ui/packages/BigScreenDesign/index.vue index 2b46c39d..b547048f 100644 --- a/data-room-ui/packages/BigScreenDesign/index.vue +++ b/data-room-ui/packages/BigScreenDesign/index.vue @@ -513,7 +513,7 @@ export default { const activeCodes = this.chartList ?.filter((chart) => { const { x, y, w, h } = chart - return startX <= x && x + w <= endX && startY <= y && y + h <= endY + return startX - 50 <= x && x + w <= endX && startY - 50 <= y && y + h <= endY }) ?.map((chart) => chart.code) this.changeActiveCodes(activeCodes)