소스 검색

后台api适配

Michael Wang 5 년 전
부모
커밋
d4ce734089
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/features/OnlinePractice/OnlinePracticeRecordDetail.vue

+ 2 - 1
src/features/OnlinePractice/OnlinePracticeRecordDetail.vue

@@ -119,7 +119,8 @@ export default {
     try {
       const res = await this.$http.get(
         "/api/ecs_oe_admin/practice/getPracticeDetailInfo?examRecordDataId=" +
-          this.$route.query.examRecordDataId
+          this.$route.query.examRecordDataId +
+          (this.disableGoBack ? "&fromCache=1" : "")
       );
       this.examRecordResult = res.data || [];
     } catch (error) {