This commit is contained in:
RainSun 2020-02-28 17:55:41 +08:00
parent b9c295cf01
commit 7959afa3ce

View File

@ -272,8 +272,15 @@
let s = parseInt(time_diff / 1000);
let ms = time_diff % 1000;
let min = parseInt(s / 60);
s = s % 60;
this.time_finish = String(min)+':'+String(s)+':'+String(ms);
s = s % 60;
let s_str
if (s < 10) {
s_str = '0' + s.toString()
} else {
s_str = s.toString()
}
this.time_finish = String(min)+':'+ s_str +':'+String(ms);
// dialog
this.upload_dialog = true;
}