Commit 4bf2ee1f authored by liujiangnan's avatar liujiangnan

fix: 标题

parent 29e26e7b
......@@ -162,6 +162,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
const routers = this.getRouters();
if (routers.length === 0) {
cc.find(`Canvas/lefttop`).active = false;
} else {
cc.find(`Canvas/lefttop/bg_title/title`).getComponent(cc.Label).string = item.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