Kaynağa Gözat

fix: 修改显示bug

weijin 4 yıl önce
ebeveyn
işleme
94994475d6

+ 3 - 1
src/views/components/ExamQuestionsInfo.vue

@@ -102,7 +102,9 @@ export default Vue.extend({
           records.forEach((val) => {
             this.submitAnswers.set(
               val.questionId,
-              val.submitAnswer === 't'
+              val.submitAnswer === ''
+                ? '无'
+                : val.submitAnswer === 't'
                 ? 'true'
                 : val.submitAnswer === 'f'
                 ? 'false'

+ 1 - 1
src/views/student/components/StudentExamInfoCard.vue

@@ -1,7 +1,7 @@
 <template>
   <v-card hover class="ma-5 px-3 my-8" style="cursor: default;height: 20%">
     <v-row>
-      <v-col class="d-flex">
+      <v-col class="d-flex" cols="8">
         <v-card-title class="ma-0 pa-0">
           <v-tooltip top v-if="examInfo.isPublic">
             <template v-slot:activator="{ on, attrs }">