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