Commit f6273439 authored by 李维's avatar 李维

测试

parent eaa4f7da
......@@ -552,7 +552,7 @@ cc.Class({
console.log(" in getState 1");
callMiddleLayerFunction("PSQS_get_course_info", {}, (data) => {
console.log("PSQS_get_course_info",data.first, data.last, data.playTime, data.saveData);
console.log("PSQS_get_course_info",data.first, data.last, data.playTime, JSON.stringify(data.saveData));
this.isFirst = data.first; //this.checkIsFirst();
this.isLast = data.last // this.checkIsLast();
......@@ -580,7 +580,7 @@ cc.Class({
},
getJumpData() {
return; //{step: 1};
return {step: 1};
},
maskSpr: null,
......@@ -1339,10 +1339,11 @@ cc.Class({
},
videoLoadEnd() {
this.videoDuration = this.video.getDuration();
// 时长获取到以后 可以计算题目点
this.setProgressBarMarkPoints();
this.videoDuration = this.video.getDuration();
// 时长获取到以后 可以计算题目点
this.setProgressBarMarkPoints();
if (this.jumpData) {
console.log(this.jumpData)
this.setJumpTime();
}
......
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