caichengyu 10 月之前
父節點
當前提交
2de2625b79
共有 1 個文件被更改,包括 1 次插入1 次删除
  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'"