Commit f34552a8 authored by limingzhe's avatar limingzhe

fix: debug

parent 64dd22c8
...@@ -471,6 +471,11 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -471,6 +471,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
showXiaodi() { showXiaodi() {
if (!this.data.npcAudioEnd) return; if (!this.data.npcAudioEnd) return;
pg.view.find(this, 'layout_xiaodi/btn_go').active = false; pg.view.find(this, 'layout_xiaodi/btn_go').active = false;
if (!this.data.npcTitle) {
this.data.npcTitle = '下一页'
}
if (this.data.npcTitle) { if (this.data.npcTitle) {
this.scheduleOnce(() => { this.scheduleOnce(() => {
pg.view.find(this, 'layout_xiaodi/btn_go').active = true; pg.view.find(this, 'layout_xiaodi/btn_go').active = 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