zhangjie 2 년 전
부모
커밋
8357bf503e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/features/examwork/StudentExamDetail/PreviewPaperDialog.vue

+ 1 - 0
src/features/examwork/StudentExamDetail/PreviewPaperDialog.vue

@@ -234,6 +234,7 @@ export default {
       this.paperStruct = studentPaperStructJson;
     },
     transformRichJson(richJson) {
+      if (!richJson || !richJson.sections) return [];
       let contents = [];
       let curBlock = [];
       const checkNeedSplitSection = (block) => {