Commit 1b44e0e0 authored by limingzhe's avatar limingzhe

fix: 上报成绩异常

parent 5fb336e3
...@@ -725,7 +725,7 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -725,7 +725,7 @@ export class PlayComponent implements OnInit, OnDestroy {
c.onEvent('sendAnswerBtnClick', (data, next) => { c.onEvent('sendAnswerBtnClick', (data, next) => {
this.infoLabel.text = `sendAnswerBtnClick: data: ${JSON.stringify(data)}`; this.infoLabel.text = `sendAnswerBtnClick: data: ${JSON.stringify(data)}`;
// 蓝思值 // 上报成绩
this.showSendAnswer(); this.showSendAnswer();
next(); next();
}); });
...@@ -802,7 +802,7 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -802,7 +802,7 @@ export class PlayComponent implements OnInit, OnDestroy {
const useTime = (Math.round(durTime / 1000 * 1000) / 1000 ); const useTime = (Math.round(durTime / 1000 * 1000) / 1000 );
this.infoLabel.text = '上报成绩 用时' + useTime + ''; this.infoLabel.text = '上报成绩 用时' + useTime + '';
console.log('res: ', res); console.log('res: ', res);
this.sendTestData('lansiEvaluation', useTime, this.infoLabel.text); this.sendTestData('sendAnswer', useTime, this.infoLabel.text);
}}); }});
} }
......
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