Commit b6853d41 authored by limingzhe's avatar limingzhe

fix: debug

parent eca5f827
......@@ -610,6 +610,8 @@ export default class NewClass extends middleLayerBase {
showSRResultByQuestion(isShowScore = false) {
if (this.studyRecord) {
console.log('=-=-=-=-= isShowScore: ', isShowScore);
this.studyRecordModel.recordData = this.studyRecord.getAllQuestionResults();
const score = this.studyRecord.getAverageScore();
this.reportData(score);
......@@ -647,8 +649,10 @@ export default class NewClass extends middleLayerBase {
console.log('reportData 1');
if (this.studyRecord) {
console.log('reportData 2');
console.log('=-=-=-=-= reportData');
const reportData = this.studyRecord.reportData(this.studyRecordModel, score);
// 在这里处理网络请求
this.callNetworkApiPostNew(`insights/v1/study-analysis`, {
...this.studyRecordModel,
......
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