From b374bcddb17d88b9ac8be666488870c009cfc444 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Fri, 22 Dec 2023 15:25:26 +0800 Subject: [PATCH 01/12] =?UTF-8?q?=E9=BC=A0=E6=A0=87=E5=9C=A8=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E6=A0=87=E9=A2=98=E5=AD=97=E4=BD=93=E4=B8=8A=E4=B9=9F?= =?UTF-8?q?=E5=8F=AF=E6=8B=96=E6=8B=BD=E7=AA=97=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/DraggableDialog.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/common/DraggableDialog.vue b/src/components/common/DraggableDialog.vue index 65310a8..31cc8f6 100644 --- a/src/components/common/DraggableDialog.vue +++ b/src/components/common/DraggableDialog.vue @@ -27,7 +27,7 @@ :style="`height: ${props.titleHeight}px;background: ${props.titleColor}`" >
{{ props.title }}
@@ -113,7 +113,7 @@ function onMouseUp() { startOffset.y = 0; } function onMouseDown(e: MouseEvent) { - if (headerRef.value?.$el !== e.target) return; + if (!e.target || !headerRef.value?.$el.contains(e.target)) return; startOffset.x = e.offsetX; startOffset.y = e.offsetY; start.x = e.clientX - offset.x; From 418ee1a269f9304d969f9828f154645e82a3fed2 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Fri, 22 Dec 2023 15:52:47 +0800 Subject: [PATCH 02/12] =?UTF-8?q?=E7=BA=BF=E8=B7=AF=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/LineMonitorPage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/LineMonitorPage.vue b/src/pages/LineMonitorPage.vue index 2d9f584..ea9f355 100644 --- a/src/pages/LineMonitorPage.vue +++ b/src/pages/LineMonitorPage.vue @@ -1,6 +1,6 @@