Commit c7a0010e authored by liujiangnan's avatar liujiangnan

feat: 自由模式

parent 6d11b954
......@@ -355,7 +355,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
b.attr({ 'data_pname': lesson.p_name });
if (index == 0 || ( this.kidInfo && this.kidInfo.unlock_syllabuses?.includes(lesson.id+"") && (index-0) % 3 === 0)) {
if (
index == 0 ||
( this.kidInfo && this.kidInfo.unlock_syllabuses?.includes(lesson.id+"") && (index-0) % 3 === 0) ||
middleLayer.getComponent('middleLayer').gameModel == 'free'
) {
lock.active = false;
const outline = this.drawTextBorder(pname, b.name);
......
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