Commit 9bfc81e6 authored by 范雪寒's avatar 范雪寒

feat

parent 58091757
......@@ -41,7 +41,10 @@ var titleType = cc.Class({
//更新界面
updateUi(nodTitle) {
nodTitle && nodTitle.getChildByName("title") && (nodTitle.getChildByName("title").getComponent(cc.Label).string = this.lab)
if (!nodTitle) {
return;
}
nodTitle.getChildByName("title") && (nodTitle.getChildByName("title").getComponent(cc.Label).string = this.lab)
this.btnSnd = nodTitle.getChildByName("audio") && nodTitle.getChildByName("audio").getChildByName("audio")
},
......
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