soleil hace 7 años
padre
commit
1e4dcc5cf3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/student/Code/ProjectDetail/Test/UnitTestDetail.vue

+ 1 - 1
src/views/student/Code/ProjectDetail/Test/UnitTestDetail.vue

@@ -17,7 +17,7 @@
       <template slot="title">
         单元测试 #{{ testDetail.id }}
       </template>
-      <template slot="content">
+      <template slot="content" v-if="testDetail.status == 1">
         <pass-tag :pass="testDetail.passAll" />
       </template>
       <template slot="extraContent">