Commit aed5c3d4 authored by liujiangnan's avatar liujiangnan

debug

parent 86714bfe
......@@ -31,6 +31,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
return new Promise((resolve, reject) => {
if (window && window["courseware"]) {
window["courseware"].getAnswer(null, ans => {
console.log('-----------------');
console.log(ans);
console.log('-----------------');
if (ans) {
this.isOver = JSON.parse(ans).isOver;
if (this.isOver) {
......
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