This commit is contained in:
zwgczx committed 2026-02-26 15:55:36 +08:00
1 parent 1609f19b9c
commit 37f4a99914
14 files changed
+953 -427

No files matched your search

+11 -3
View File
@@ -92,9 +92,9 @@ const activeComponent = computed(() => {
</div>
</div>
<div class="w-88/100 min-h-0">
<ScrollArea class="h-full w-full">
<div class="p-3">
<div class="w-88/100 min-h-0 h-full flex flex-col">
<ScrollArea class="h-full w-full min-h-0 rightMain">
<div class="p-3 h-full min-h-0 flex flex-col">
<keep-alive>
<component :is="activeComponent" />
</keep-alive>
@@ -103,3 +103,11 @@ const activeComponent = computed(() => {
</div>
</div>
</template>
<style scoped>
/* 核心修改:添加 :deep() 穿透 scoped 作用域 */
:deep(.rightMain > div > div) {
height: 100%;
min-height: 0;
box-sizing: border-box;
}
</style>