Commit 26ed7356 authored by limingzhe's avatar limingzhe

fix: debug

parent b47df134
...@@ -77,8 +77,6 @@ export default class NewClass extends middleLayerBase { ...@@ -77,8 +77,6 @@ export default class NewClass extends middleLayerBase {
console.log('bundleInfo.study_record: ', bundleInfo.study_record); console.log('bundleInfo.study_record: ', bundleInfo.study_record);
const study_record = JSON.parse(bundleInfo.study_record); const study_record = JSON.parse(bundleInfo.study_record);
console.log('study_record: ', study_record);
this.initStudyRecord(study_record); this.initStudyRecord(study_record);
} }
...@@ -592,9 +590,10 @@ export default class NewClass extends middleLayerBase { ...@@ -592,9 +590,10 @@ export default class NewClass extends middleLayerBase {
studyRecord: StudyRecord; studyRecord: StudyRecord;
studyRecordModel; studyRecordModel;
initStudyRecord(study_record_str) { initStudyRecord(study_record) {
this.studyRecordModel = JSON.parse(study_record_str); console.log('initStudyRecord study_record: ', study_record);
this.studyRecordModel = study_record;
this.studyRecord = new StudyRecord(); this.studyRecord = new StudyRecord();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment