From 08adb4c983eb728d3c8b567818331b35304d219c Mon Sep 17 00:00:00 2001
From: “dzb” <2632970487@qq.com>
Date: 星期五, 04 十一月 2022 16:10:34 +0800
Subject: [PATCH] 解决顶部导航栏名字挤压

---
 src/utils/mydate.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/utils/mydate.js b/src/utils/mydate.js
index 521b6d2..a76a17e 100644
--- a/src/utils/mydate.js
+++ b/src/utils/mydate.js
@@ -2,7 +2,7 @@
 function filterTime(time){
     const result = new Date(time);
     let yy = result.getFullYear(),
-    mm = result.getMonth(),
+    mm = result.getMonth()+1,
     dd = result.getDate(),
     hh = result.getHours(),
     mi = result.getMinutes();

--
Gitblit v1.8.0