Commit 33aa2285 authored by 李维's avatar 李维

修复rows获取错误

parent 557f923c
......@@ -89,7 +89,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
//
// this.scheduleOnce(()=>{
// 把听写助手传来的数据 转换为游戏需要的数据
this.data = this.translateData(this.data);
this.data = this.translateData(this.data.rows);
this.asyncPlayAudioByUrl(this.data.questionTextAudio)
// },1)
cc.find("Canvas/uiP/bg_tip").active = true;
......@@ -117,7 +117,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
newList.push(list.slice(i, i + chunk))
}
}
console.log(newList)
return newList
}
......
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