Commit 89e1cc5a authored by liujiangnan's avatar liujiangnan

fix: 解锁

parent e21f2ef7
No preview for this file type
...@@ -177,7 +177,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -177,7 +177,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
folderId: this.rows[i].id, folderId: this.rows[i].id,
folderName: this.rows[i].name, folderName: this.rows[i].name,
courseId: guideRow.id, courseId: guideRow.id,
nextFolderId: this.rows[i + 1]?.id nextFolderId: (this.rows[i + 1] && this.rows[i + 1].name != 'more games')?this.rows[i + 1].id:-1
}); });
jumpToCourseWare(guideRow.id); jumpToCourseWare(guideRow.id);
} else { } else {
...@@ -189,7 +189,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -189,7 +189,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
folderId: this.rows[i].id, folderId: this.rows[i].id,
folderName: this.rows[i].name, folderName: this.rows[i].name,
courseId: res.rows[0].id, courseId: res.rows[0].id,
nextFolderId: this.rows[i + 1]?.id nextFolderId: (this.rows[i + 1] && this.rows[i + 1].name != 'more games')?this.rows[i + 1].id:-1
}); });
jumpToCourseWare(res.rows[0].id, true); jumpToCourseWare(res.rows[0].id, true);
} }
......
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