Commit 51d257a6 authored by 章红平's avatar 章红平

提交

parent c2bc288e
...@@ -53,7 +53,7 @@ export class MyCocosSceneComponent extends cc.Component { ...@@ -53,7 +53,7 @@ export class MyCocosSceneComponent extends cc.Component {
// 生命周期 start // 生命周期 start
start() { start() {
this.log('data:'); this.log('data=======:');
// console.log("(<any>window).courseware===",(<any>window).courseware) // console.log("(<any>window).courseware===",(<any>window).courseware)
if (window && (<any>window).courseware && (<any>window).courseware.getData) { if (window && (<any>window).courseware && (<any>window).courseware.getData) {
(<any>window).courseware.getData((data) => { (<any>window).courseware.getData((data) => {
......
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