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 } ],