From 189adc4d8bb6b228d49678bc98935b6977d72359 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Wed, 28 Jan 2026 09:36:22 +0800
Subject: [PATCH] 丹灵数据 新增防抖

---
 src/filters/index.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/filters/index.js b/src/filters/index.js
index 13ffa73..c8a1b4e 100644
--- a/src/filters/index.js
+++ b/src/filters/index.js
@@ -19,13 +19,14 @@
   }
 }
 
+// 时间戳过滤器
 export function formatDate(value) {
     if (!value){
         return "---"
     }else{
         let date = new Date(value);
         let month =  (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1) : date.getMonth()+1);
-        let day =  (date.getDate()+1 < 10 ? '0'+(date.getDate()+1) : date.getDate()+1);
+        let day =  (date.getDate()+1 < 10 ? '0'+(date.getDate()) : date.getDate());
         let hours = date.getHours();
         if (hours < 10)
             hours = "0" + hours;

--
Gitblit v1.9.2