优化DockLayout.vue布局:将主区域改为相对定位,确保主区域不会被浮动区域完全覆盖
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
:WindowState="windowState"
|
||||
:showTitleBar="false"
|
||||
title="主区域"
|
||||
:style="{ position: 'absolute', top: 0, left: 0, width: '100%', height: '100%', zIndex: 1 }"
|
||||
:style="{ position: 'relative', width: '100%', height: '100%', zIndex: 1 }"
|
||||
>
|
||||
</Area>
|
||||
<!-- 浮动区域列表 -->
|
||||
<!-- 浮动区域直接渲染,不使用额外的div包装 -->
|
||||
<Area
|
||||
v-for="area in floatingAreas"
|
||||
:key="area.id"
|
||||
|
||||
Reference in New Issue
Block a user