add zero
This commit is contained in:
parent
b9c295cf01
commit
7959afa3ce
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user