增加演示项目,修复css引起的相关故障

This commit is contained in:
2025-03-18 13:32:11 +08:00
parent 20232a5d7c
commit 5336b57d9b
3 changed files with 55 additions and 22 deletions

View File

@@ -89,24 +89,24 @@ const activeFileGroups = computed(() => {
<!-- 工作区 -->
<div class="workspace">
<main id="main-container" :style="{ height: contentHeight, overflow: 'auto' }">
<el-tabs
v-model="filesStore.activeFile"
type="card"
class="demo-tabs"
editable
@edit="handleTabsEdit"
<el-tabs
v-model="filesStore.activeFile"
type="card"
class="demo-tabs"
editable
@edit="handleTabsEdit"
>
<el-tab-pane
v-for="(file, index) in filesStore.visibleFiles"
:key="index"
:label="file.label"
:name="file.name.toString()"
>
<el-tab-pane
v-for="(file, index) in filesStore.visibleFiles"
:key="index"
:label="file.label"
:name="file.name.toString()"
>
<Yys :groups="activeFileGroups" ref="yysRef" />
</el-tab-pane>
</el-tabs>
</main>
<main id="main-container" :style="{ height: contentHeight, overflow: 'auto' }">
<Yys :groups="activeFileGroups" ref="yysRef"/>
</main>
</el-tab-pane>
</el-tabs>
</div>
</div>
</div>