11wqe1 1 month ago
parent
commit
33be1bfd6a

+ 1 - 1
src/components/pages/components/studentWorksDetail.vue

@@ -1400,7 +1400,7 @@
                           <span>{{ checkJson[sIndex].allRight + "%" }}</span>
                         </div>
                       </div> -->
-                      <div v-if="worksDetail[sIndex].eList.length">
+                      <div v-if="worksDetail[sIndex].eList && worksDetail[sIndex].eList.length">
                         <!-- <div class="ech" style="margin-left: 23px">
                           <img src="../../../assets/icon/pj/score.png" alt="" />
                         </div> -->

+ 1 - 1
src/components/pages/components/worksDetail3.vue

@@ -1051,7 +1051,7 @@
                     </div>
                      
                    
-                      <div v-if="worksDetail[sIndex].eList.length">
+                      <div v-if="worksDetail[sIndex].eList && worksDetail[sIndex].eList.length">
                        
                         <div>
                           <div class="score_boxTit"><span>分数详情</span></div>