From 8341c8e0b44ff24ade80d9f6d99f564fa83697fa Mon Sep 17 00:00:00 2001 From: zqm Date: Tue, 4 Nov 2025 17:02:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=B7=A6=E8=BE=B9=E6=A1=86?= =?UTF-8?q?=E6=8B=96=E5=8A=A8=E9=80=BB=E8=BE=91=EF=BC=8C=E7=A1=AE=E4=BF=9D?= =?UTF-8?q?=E6=8B=96=E5=8A=A8=E6=97=B6Area=E5=90=91=E5=B7=A6=E8=BE=B9?= =?UTF-8?q?=E6=89=A9=E5=B1=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AutoRobot/Windows/Robot/Web/src/DockLayout/Area.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AutoRobot/Windows/Robot/Web/src/DockLayout/Area.vue b/AutoRobot/Windows/Robot/Web/src/DockLayout/Area.vue index 1d61ced..65958de 100644 --- a/AutoRobot/Windows/Robot/Web/src/DockLayout/Area.vue +++ b/AutoRobot/Windows/Robot/Web/src/DockLayout/Area.vue @@ -351,8 +351,10 @@ const onResizeMove = (e) => { newHeight = Math.max(150, resizeStartSize.value.height + deltaY) break case 'w': + // 拖动左边框时,Area向左边扩展 newWidth = Math.max(200, resizeStartSize.value.width - deltaX) - newLeft = resizeStartPos.value.left + deltaX + // 当deltaX为负时,鼠标向左移动,增加宽度并向左移动位置 + newLeft = resizeStartAreaPos.value.left + deltaX break }