Sfoglia il codice sorgente

检测结果字段显示

duy 2 anni fa
parent
commit
6e7af86cca
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/tentative/detect/test.vue

+ 1 - 1
src/views/tentative/detect/test.vue

@@ -115,7 +115,7 @@
                         <span>{{contractInfo?.name}}</span>
                     </template>
                     <template #detectionResult="{row}">
-                        <span>{{row.detectionResult == 1 ? '合格' : '不合格'}}</span>
+                        <span>{{row.detectionResult == 1 ? '合格':row.detectionResult === ''?'' : '不合格'}}</span>
                     </template>
                     <template #action="{row}">
                         <HcTooltip keys="tentative_detect_test_annex">