Commit f844a768 authored by ibuler's avatar ibuler

[Bugfix] 修复录像时长为空的bug

parent f3eb3e92
...@@ -95,6 +95,7 @@ export class JsonComponent implements OnInit { ...@@ -95,6 +95,7 @@ export class JsonComponent implements OnInit {
return a - b; return a - b;
}); });
this.max = this.timeList[this.timeList.length - 1] * 1000; this.max = this.timeList[this.timeList.length - 1] * 1000;
this.duration = formatTime(this.max);
this.toggle(); this.toggle();
}, },
err => { err => {
......
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