Commit 09b3526e authored by 范雪寒's avatar 范雪寒

feat:

parent 618481da
......@@ -168,9 +168,11 @@ cc.Class({
console.log(data);
const defaultBondle = data.rows.find(row => row.name == '默认');
if (!defaultBondle) {
cc.find('middleLayer/storyBox/bg').active = true;
console.error('没有默认课件!');
return;
}
cc.find('middleLayer/storyBox/bg').active = false;
this.syllabus_id = defaultBondle.children[0].id;
this.loadBundleByConf(defaultBondle.children[0].conf, () => {
......
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