fix: 调整任务阶段计时器间隔为0.5秒

原2秒间隔过长,导致界面显示更新不及时,影响用户体验。缩短间隔使时间显示更实时。
This commit is contained in:
panw
2026-04-14 10:41:35 +08:00
parent beff0d624a
commit 24b27877b0
2 changed files with 2722 additions and 1675 deletions

View File

@@ -114,8 +114,8 @@ export class MissionComp extends CCComp {
gold:0,
diamond:0
}
/**2秒计时 */
PhaseTime:Timer= new Timer(2)
/**秒计时 */
PhaseTime:Timer= new Timer(0.5)
/** 上一次显示的时间字符串(避免重复设置) */
private lastTimeStr: string = "";
/** 上一次显示的秒数(避免重复计算) */