mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-10 05:34:05 +00:00
fix: 修复会话录像时间1秒显示问题
This commit is contained in:
parent
332cd2c073
commit
c5495d9846
@ -33,7 +33,7 @@ function readableSecond(offset) {
|
||||
return hours.toFixed(1) + ' ' + getTimeUnits('h')
|
||||
} else if (minutes > 1) {
|
||||
return minutes.toFixed(1) + ' ' + getTimeUnits('m')
|
||||
} else if (seconds > 1) {
|
||||
} else if (seconds >= 0) {
|
||||
return seconds.toFixed(1) + ' ' + getTimeUnits('s')
|
||||
}
|
||||
return ''
|
||||
|
Loading…
Reference in New Issue
Block a user