Commit e0c0b65b authored by limingzhe's avatar limingzhe

fix: debug

parent 68799f8c
No preview for this file type
...@@ -397,6 +397,14 @@ export abstract class middleLayerBase extends cc.Component { ...@@ -397,6 +397,14 @@ export abstract class middleLayerBase extends cc.Component {
return this.courseIndex < this.courses.length - 1; return this.courseIndex < this.courses.length - 1;
} }
hasLastPage() {
if (!this.courses) {
return false;
}
return this.courseIndex > 0;
}
showTips(str: string) { showTips(str: string) {
const tipsNode = new cc.Node(); const tipsNode = new cc.Node();
tipsNode.parent = cc.find('Canvas'); tipsNode.parent = cc.find('Canvas');
......
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