Commit 02a84b99 authored by 李维's avatar 李维

修改生命周期方法

parent 01021c39
...@@ -74,8 +74,8 @@ cc.Class({ ...@@ -74,8 +74,8 @@ cc.Class({
// 生命周期 start // 生命周期 start
start() { onLoadEnd() {
console.log("Start") console.log("onLoadEnd")
let getData = this.getData.bind(this); let getData = this.getData.bind(this);
if (window && window.courseware) { if (window && window.courseware) {
getData = window.courseware.getData; getData = window.courseware.getData;
......
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