修正代码格式
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import { config } from "../../constants/config"
|
||||
|
||||
const { regClass, property } = Laya
|
||||
|
||||
@regClass()
|
||||
@@ -48,7 +46,7 @@ export class CalendarUnit extends Laya.Script {
|
||||
|
||||
// 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次
|
||||
onAwake(): void {
|
||||
this.pieSize = this.sprite_pie.width /2
|
||||
this.pieSize = this.sprite_pie.width / 2
|
||||
}
|
||||
|
||||
public setCalendarUnit(year: number, month: number, day: number, open: boolean, progress: number, handler: any, func: any): void {
|
||||
|
||||
Reference in New Issue
Block a user