From f47b5e5feffa3b0b57eb7aa73ba6b10a489f9e3c Mon Sep 17 00:00:00 2001 From: zqm Date: Mon, 20 Oct 2025 11:43:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=A6=E4=BE=A7=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF=E5=8C=BA=E5=B8=83=E5=B1=80=E9=97=AE=E9=A2=98=EF=BC=8C?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=BD=B1=E5=93=8D=E5=88=97=E8=A1=A8=E5=92=8C?= =?UTF-8?q?=E8=A2=AB=E5=BD=B1=E5=93=8D=E5=88=97=E8=A1=A8=EF=BC=8C=E4=BD=BF?= =?UTF-8?q?=E5=B7=A6=E4=BE=A7=E9=9D=A2=E6=9D=BF=E5=8C=BA=E8=83=BD=E5=A4=9F?= =?UTF-8?q?=E7=8B=AC=E5=8D=A0=E4=B8=80=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Robot/Web/src/components/LayoutCoordinator.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/AutoRobot/Windows/Robot/Web/src/components/LayoutCoordinator.js b/AutoRobot/Windows/Robot/Web/src/components/LayoutCoordinator.js index 26e2304..8907904 100644 --- a/AutoRobot/Windows/Robot/Web/src/components/LayoutCoordinator.js +++ b/AutoRobot/Windows/Robot/Web/src/components/LayoutCoordinator.js @@ -227,12 +227,10 @@ export class LayoutCoordinator { { position: 'center', property: 'width', influence: true } ], top: [ - { position: 'left', property: 'height', influence: true }, { position: 'center', property: 'height', influence: true }, { position: 'right', property: 'height', influence: true } ], bottom: [ - { position: 'left', property: 'height', influence: true }, { position: 'center', property: 'height', influence: true }, { position: 'right', property: 'height', influence: true } ], @@ -241,22 +239,22 @@ export class LayoutCoordinator { // 受影响数组:计算某个面板大小时,需要考虑哪些其他面板 influencedBy: { left: [ - { position: 'top', property: 'height', influence: true }, { position: 'center', property: 'width', influence: true }, - { position: 'right', property: 'width', influence: true }, - { position: 'bottom', property: 'height', influence: true } + { position: 'right', property: 'width', influence: true } ], right: [ - { position: 'top', property: 'height', influence: true }, { position: 'left', property: 'width', influence: true }, - { position: 'center', property: 'width', influence: true }, - { position: 'bottom', property: 'height', influence: true } + { position: 'center', property: 'width', influence: true } ], top:[ + { position: 'left', property: 'width', influence: true }, + { position: 'right', property: 'width', influence: true }, { position: 'center', property: 'height', influence: true }, { position: 'bottom', property: 'height', influence: true } ], bottom: [ + { position: 'left', property: 'width', influence: true }, + { position: 'right', property: 'width', influence: true }, { position: 'top', property: 'height', influence: true }, { position: 'center', property: 'height', influence: true } ],