Commit 69be4298 authored by liujiangnan's avatar liujiangnan

feat: 上报成绩

parent 9e3d9230
......@@ -180,7 +180,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
buttonOnClick(sure, async () => {
// 上报答题结果
if (window && window["courseware"]) {
window["courseware"].sendAnswer({isOver: true, pic_url: this.picture_url});
window["courseware"].sendAnswer({isOver: true, pic_url: this.picture_url, score: this.data.questionScore});
}
await this.showFinal();
......
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