小游戏结算界面currentWinScore未重制为0导致的bug
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 44s

This commit is contained in:
TJH 2025-10-13 15:21:25 +08:00
parent d2769332a9
commit e2c6086f15

View File

@ -26,6 +26,9 @@ export class TotalWin extends Component {
closeCallBack: (() => void) | null = null;
protected onLoad(): void {
// this.show(505000,null)
}
show(winScore: number, closeCallBack: (() => void) | null = null) {
this.totalWinUINode = NodePoolManager.instance.getNodeFromPoolStatic('totalWinUI', this.totalWinUiPre);
@ -59,7 +62,7 @@ export class TotalWin extends Component {
startScoreAni() {
// 修改这里的滚动逻辑
let startScore = this.currentWinScore;
let startScore = 0;
let startTime = 0;
this.isScrolling = true;