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) => {