修复与增强 DockLayout/Area:实现最大化/还原联动;默认 300x250 居中;修复模板闭合标签;调整最小尺寸匹配默认大小
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user