人生啊人生 2 ماه پیش
والد
کامیت
c881c777d2
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/view/student/trainChapter/trainChapter.vue

+ 2 - 2
src/view/student/trainChapter/trainChapter.vue

@@ -13,7 +13,7 @@
                     <div class="menu-title">{{ state.chapterTree[state.currentStep]?.name ?? '' }}</div>
                     <div class="menu-list">
                         <el-scrollbar :max-height="state.menuListHeight">
-                            <!-- 没有子菜单,上下顶级菜单 space="7rem" 间距太高,这里进行修改减少 -->
+                            <!-- 当父级菜单不存在子级菜单,导致会出现很大的空白,这里调整 space="7rem" 小一些进行解决 -->
                             <!-- <el-steps direction="vertical" space="7rem" :active="state.currentStep"> -->
                             <el-steps direction="vertical" space="3rem" :active="state.currentStep">
                                 <el-step v-for="(item, idx) in state.chapterTree" :title="item.name" @click="menuClick($event, idx)">
@@ -351,7 +351,7 @@ const initTips = () => {
      * 所以这里进行特殊处理
      */
     if (typeof threeDimensionalConfig == "string" && threeDimensionalConfig == "仿真模拟_清洗车") {
-        
+
         var thisTime = new Date().getTime();
 
         initTimeQingXiCarAndQv.value = "" + thisTime;