caichengyu 10 tháng trước cách đây
mục cha
commit
2de2625b79
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/Study/StudentInfo.vue

+ 1 - 1
src/components/Study/StudentInfo.vue

@@ -19,7 +19,7 @@
             v-else-if="item.key == 'classHours'"
             style="color: red; font-weight: bold; font-size: 18px"
             >{{
-              (userData["finishSectionDuration"] / 60 / 45).toFixed(0)
+              (userData["finishSectionDuration"] / 60 / 45).toFixed(0)> (secTotalTime / 60 / 45).toFixed(0)? (secTotalTime / 60 / 45).toFixed(0):(userData["finishSectionDuration"] / 60 / 45).toFixed(0)
             }}</span
           ><span
             v-else-if="item.key == 'secTotalTime'"