소스 검색

总分历次

liurongli 8 달 전
부모
커밋
601d317227
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/analysisReport/studentPage/scrolReport/transcript_total.vue

+ 1 - 1
src/views/analysisReport/studentPage/scrolReport/transcript_total.vue

@@ -245,7 +245,7 @@ export default {
       }
       this.$api.reportStudent.queryHistoryExamData({...param}).then((res) => {
           if (res.code == 200 && res.data) {
-            const detailData = res.data?.detailData || [];
+            const detailData = (res.data?.detailData || []).reverse();
             this.historyExamData.chartData = detailData;
             this.historyExamData.selectNames = res.data.selectNames || [];
             this.historyExamData.selectVal = this.historyExamData?.selectNames?.[0]?.prop ?? '';