实现Area组件功能需求:初始位置居中、最大化还原、边界限制、单Panel无标题栏

This commit is contained in:
zqm
2025-11-04 11:02:06 +08:00
parent d0ce4380f5
commit 8ec95d63f5
2 changed files with 35 additions and 7 deletions

View File

@@ -7,7 +7,7 @@
:id="area.id"
:title="area.title"
v-model:WindowState="area.WindowState"
:showTitleBar="area.showTitleBar"
:showTitleBar="area.panels.length !== 1"
:width="area.width"
:height="area.height"
:left="area.WindowState !== '最大化' ? area.x : undefined"