Commit d4fbb49d authored by limingzhe's avatar limingzhe

fix: debug

parent 80128f23
...@@ -420,6 +420,19 @@ cc.Class({ ...@@ -420,6 +420,19 @@ cc.Class({
guide:{ guide:{
invoke: { invoke: {
src: (ctx) => { src: (ctx) => {
// ------临时 ------
console.log('game begin 1');
if(window.courseware && window.courseware.openOsmoFingerRead) {
this.isOpenedOsmoFingerRead = true;
window.courseware.openOsmoFingerRead({
"page": false,
"book_name": "Oxford_Phonics_World_1_SB"
})
}
// ------------
return new Promise((resolve,reject) => { return new Promise((resolve,reject) => {
playAudioByUrl(this.data.guide_audio, () => { playAudioByUrl(this.data.guide_audio, () => {
console.log('game guide audio finish'); console.log('game guide audio finish');
......
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