Commit 8713225b by 李君

1

1 parent 36b5d045
...@@ -226,11 +226,16 @@ ...@@ -226,11 +226,16 @@
}, },
methods: { methods: {
timeFormat(val){ timeFormat(val){
if(val){
if(val>60){ if(val>60){
return Math.floor(val/60)+'min'+(val%60) +'s' return Math.floor(val/60)+'min'+(val%60) +'s'
}else{ }else{
return val +'s' return val +'s'
} }
}else{
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!