Commit 049720d5 authored by limingzhe's avatar limingzhe

fix: debug

parent 7ff3b38a
......@@ -250,10 +250,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
}, []);
// rows = rows.filter(r => !r.has_courseware)
console.log('UnitView', list);
console.log('lessonsBtn.length', lessonsBtn.length);
lessonsBtn.forEach((b, idx) => {
const attr: Attributes = b.getComponent('Attributes');
const index = attr.attrMap['index'];
console.log('index', index);
const lesson = list[index];
const lock = cc.find('icon_key', b);
// console.log("===liu2===", index);
......
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