From d0f98ad8e1047e3161a458399ad3005404ed87b8 Mon Sep 17 00:00:00 2001
From: whychdw <496960745@qq.com>
Date: 星期五, 06 六月 2025 15:52:15 +0800
Subject: [PATCH] 标准参数管理

---
 src/utils/formatSeconds.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/utils/formatSeconds.js b/src/utils/formatSeconds.js
index 4bee482..b96b47f 100644
--- a/src/utils/formatSeconds.js
+++ b/src/utils/formatSeconds.js
@@ -6,6 +6,10 @@
  * @return  {[String]}         00:00:00
  */
 function formatSeconds(value) {
+    if (isNaN(Number(value))) {
+      return value;
+    }
+    
     if(value<=0){
         value = 0;
     }

--
Gitblit v1.9.1