Commit e9e86d7c authored by liujiangnan's avatar liujiangnan

debug

parent db8c651a
...@@ -225,7 +225,9 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -225,7 +225,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
} }
b.attr({ 'data_id': lesson.id }); b.attr({ 'data_id': lesson.id });
b.attr({ 'data_pid': lesson.pid }); b.attr({ 'data_pid': lesson.pid });
console.log("===liu3===", this.kidInfo.unlock_syllabuses, lesson.id, index); console.log("===liu3===unlock_syllabuses==", this.kidInfo.unlock_syllabuses);
console.log("===liu3===lesson.id==", lesson.id);
console.log("===liu3===index==", index);
if (this.kidInfo && this.kidInfo.unlock_syllabuses?.includes(lesson.id+"") && (index-0) % 3 === 0) { if (this.kidInfo && this.kidInfo.unlock_syllabuses?.includes(lesson.id+"") && (index-0) % 3 === 0) {
lock.active = false; lock.active = false;
const { parent } = b; const { parent } = b;
......
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