fix代码格式
This commit is contained in:
@@ -38,7 +38,7 @@ export class Block extends Laya.Script {
|
||||
this.sprite_show = this.owner.getChildByName("Sprite") as Laya.Sprite
|
||||
this.label_show = this.owner.getChildByName("label_show") as Laya.Label
|
||||
|
||||
let notes = this.owner.getChildByName("notes")
|
||||
const notes = this.owner.getChildByName("notes")
|
||||
for (let i = 0; i < notes.numChildren; i++) {
|
||||
const hbox = notes.getChildAt(i)
|
||||
for (let j = 0; j < hbox.numChildren; j++) {
|
||||
@@ -49,7 +49,7 @@ export class Block extends Laya.Script {
|
||||
this.tips_labels.push(Label)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
this.owner.on(Laya.Event.CLICK, handler, func)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user