dusenyao 3 years ago
parent
commit
8b9158494a
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/components/live/CurMaterial.vue

+ 4 - 2
src/components/live/CurMaterial.vue

@@ -20,8 +20,10 @@
     </div>
 
     <div v-show="!isCurMaterial && material_type === 'COURSEWARE'" class="answer-data">
-      <span>{{ $t('Key320') }}</span>
-      <span class="answer-data-duration">{{ answerData.duration }}{{ $t('Key321') }}</span>
+      <template v-if="category === 'NPC' || category === 'OC' || category.length === 0">
+        <span>{{ $t('Key320') }}</span>
+        <span class="answer-data-duration">{{ answerData.duration }}{{ $t('Key321') }}</span>
+      </template>
       <template v-if="category !== 'NPC'">
         <span class="answer-data-label">{{ $t('Key194') }}</span>
         <span class="answer-data-count-right">{{ answerData.count_right }}</span>