优化DockLayout.vue布局:将主区域改为相对定位,确保主区域不会被浮动区域完全覆盖

This commit is contained in:
zqm
2025-11-07 14:56:09 +08:00
parent 145b82ecf9
commit 1f31bfbba9

View File

@@ -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"