Commit 5af51b9d authored by 李维's avatar 李维

添加打印日志

parent 8886d4fb
......@@ -203,6 +203,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
const middleLayerComponent = middleLayer.getComponent('middleLayer');
const tmpData = middleLayerComponent.getData('NJ_game_select');
console.log('tmpData = ', tmpData);
console.log('[NJ_game_select] courseId=', tmpData.courseId);
console.log('[NJ_game_select] currentPageIdx=', tmpData.currentPageIdx);
this.courseId = tmpData.courseId;
this.currentPageIdx = tmpData.currentPageIdx || 0;
this.currentPartIdx = tmpData.currentPartIdx || 0;
......
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