Commit 2f53bb36 authored by liujiangnan's avatar liujiangnan

feat

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