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