Browse Source

大题描述bugfix

zhangjie 2 years ago
parent
commit
4613b7e1e4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/features/examwork/StudentExamDetail/PreviewPaperDialog.vue

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

@@ -351,6 +351,7 @@ export default {
       return contents;
     },
     parseTopicDesc(richJson) {
+      if (!richJson) return [];
       const bodys = this.transformRichJson(richJson);
       return bodys.map((body) => {
         return {