格式化代码 var to let or const
This commit is contained in:
@@ -140,7 +140,7 @@ export class TopBar extends Laya.Script {
|
||||
}
|
||||
|
||||
updateDifficulty(difficulty: string): void {
|
||||
this.items.forEach((label: Laya.Label, key: string) => {
|
||||
this.items.forEach((label: Laya.Label) => {
|
||||
label.color = "#0e2a53"
|
||||
})
|
||||
const label = this.items.get(difficulty)
|
||||
|
||||
Reference in New Issue
Block a user