Commit 41e697ac by 陈超

A

parent 4f40d1c9
...@@ -544,8 +544,8 @@ ...@@ -544,8 +544,8 @@
let minutes = Math.floor((time % 3600) / 60) let minutes = Math.floor((time % 3600) / 60)
let seconds = Math.round(time % 60) let seconds = Math.round(time % 60)
this.countDown = (hours < 10 ? '0' + hours : hours) + ":" + (minutes < 10 ? '0' + minutes : minutes) + ":" + (seconds < 10 ? '0' + seconds : seconds) this.countDown = (hours < 10 ? '0' + hours : hours) + ":" + (minutes < 10 ? '0' + minutes : minutes) + ":" + (seconds < 10 ? '0' + seconds : seconds)
console.log(this.doCountDown)
setTimeout(this.doCountDown, 1000) setTimeout(this.doCountDown, 1000)
this.timeConsumed += 1
} }
} else { } else {
this.countDown = "不限时" this.countDown = "不限时"
......
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