修复与增强 DockLayout/Area:实现最大化/还原联动;默认 300x250 居中;修复模板闭合标签;调整最小尺寸匹配默认大小

This commit is contained in:
AutoRobot Dev
2025-11-01 14:23:35 +07:00
parent 3e7e75ab16
commit 87ccd2bbec
2 changed files with 30 additions and 5 deletions

View File

@@ -1,7 +1,10 @@
<template>
<Area WindowState="最大化" />
<Area :WindowState="windowState" @update:WindowState="handleUpdate" />
</template>
<script setup>
import { ref } from 'vue'
import Area from './Area.vue';
const windowState = ref('最大化')
const handleUpdate = (next) => { windowState.value = next }
</script>