微调
This commit is contained in:
@@ -476,11 +476,11 @@ const startTimeCount = () => {
|
|||||||
// Loading效果展示
|
// Loading效果展示
|
||||||
showLoading.value = true
|
showLoading.value = true
|
||||||
|
|
||||||
|
if (!timer) {
|
||||||
hour.value = 0
|
hour.value = 0
|
||||||
minute.value = 0
|
minute.value = 0
|
||||||
second.value = 0
|
second.value = 0
|
||||||
timeCount.value = 0
|
timeCount.value = 0
|
||||||
if (!timer) {
|
|
||||||
timer = setInterval(() => {
|
timer = setInterval(() => {
|
||||||
timeCount.value = timeCount.value + 1
|
timeCount.value = timeCount.value + 1
|
||||||
secondToTime(timeCount.value)
|
secondToTime(timeCount.value)
|
||||||
|
|||||||
Reference in New Issue
Block a user