伯修 Laya.timer.frameLoop(1, this, this.run, null); private last:number = 0; private run() { let now = Date.now(); console.log("fightmng run >> " + now, " usetime:"+(now-this.last)); this.last = now; }代码如上,帧循环把项目最小化在后台运行,挂5分钟左右之后,时间间隔会变成1分钟一次了。输出如附件