Commit 8713225b by 李君

1

1 parent 36b5d045
...@@ -226,11 +226,16 @@ ...@@ -226,11 +226,16 @@
}, },
methods: { methods: {
timeFormat(val){ timeFormat(val){
if(val>60){ if(val){
return Math.floor(val/60)+'min'+(val%60) +'s' if(val>60){
return Math.floor(val/60)+'min'+(val%60) +'s'
}else{
return val +'s'
}
}else{ }else{
return val +'s' return '0'
} }
}, },
// 通道类型 // 通道类型
getCounterType(){ getCounterType(){
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!