Browse Source

0秒显示

赵添更 6 days ago
parent
commit
5e2cbe0b14
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/utils/date-util.ts

+ 1 - 1
packages/app/src/utils/date-util.ts

@@ -28,7 +28,7 @@ export const secondToMinute = (seconds: any) => {
   if (minutes > 0) {
     date += `${minutes}分钟`
   }
-  if (seconds > 0) {
+  if (seconds >= 0) {
     date += `${seconds}秒`
   }