修正代码格式

This commit is contained in:
2025-05-30 16:52:51 +08:00
parent 84d1ac4798
commit 2b4ff0638b
7 changed files with 24 additions and 33 deletions

View File

@@ -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 {