feat: 溢出控制高度的代码, 防止内容塌陷

This commit is contained in:
2025-09-08 18:46:37 +08:00
parent 4e60811542
commit 70bb87a17a

View File

@@ -177,7 +177,7 @@
</div>
<!-- 课程单元 -->
<div class="course-units" v-if="tab == 1">
<div :style="`height: ${controlHeight}px;overflow-y: auto;`">
<div style="min-height: 350px;max-height: 850px ;overflow-y: auto;">
<div class="catalog" v-if="courseInfo.type == 20">
<div v-for="(item, index) in catalogTree" :key="index" :name="index">
<el-menu