fix
This commit is contained in:
1 parent
d053c8e1ba
commit
3bc924fdfe
1 file changed
+1
-1
@@ -66,7 +66,7 @@ export function duration(
|
|||||||
result += duration.minutes + "分钟"
|
result += duration.minutes + "分钟"
|
||||||
}
|
}
|
||||||
if (showSeconds) {
|
if (showSeconds) {
|
||||||
result += duration.seconds + "秒"
|
result += (duration.seconds ?? 0) + "秒"
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user