Commit 2cb9c481 authored by zjz1994's avatar zjz1994

体力界面的时间间隙

parent 3432e9d7
...@@ -121,7 +121,7 @@ export default class BloodPanel extends Panel { ...@@ -121,7 +121,7 @@ export default class BloodPanel extends Panel {
private updateData() { private updateData() {
if (this._countDown == null) { if (this._countDown == null) {
this._countDown = new CountDown(this['countdownTxt'], (str) => `恢复 : ${str}`); this._countDown = new CountDown(this['countdownTxt'], (str) => `恢复 : ${str}`,true);
} }
const homeData = getHomeData(); const homeData = getHomeData();
this['bloodTxt'].text = `${homeData.remainEnargy}`; this['bloodTxt'].text = `${homeData.remainEnargy}`;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment