Commit baa2d4c0 authored by kai's avatar kai

debug

parent 8f62d1fd
...@@ -93,7 +93,6 @@ export default class NewClass extends middleLayerBase { ...@@ -93,7 +93,6 @@ export default class NewClass extends middleLayerBase {
console.log('=========exitGame========='); console.log('=========exitGame=========');
const tpl = cc.find('Canvas')?.getComponent(this.courseItem.template_name); const tpl = cc.find('Canvas')?.getComponent(this.courseItem.template_name);
console.log(JSON.stringify(tpl));
console.log(JSON.stringify(tpl['data'])); console.log(JSON.stringify(tpl['data']));
console.log('this.courseItem: ', JSON.stringify(this.courseItem)); console.log('this.courseItem: ', JSON.stringify(this.courseItem));
if(!data) { if(!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