From a5e490fbe5dd6f253bd81d80e141fef0c0df2cae Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期一, 28 十一月 2022 11:47:28 +0800
Subject: [PATCH] fix: 修改右上角密码修改
---
src/utils/mydate.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/utils/mydate.js b/src/utils/mydate.js
index a058424..a76a17e 100644
--- a/src/utils/mydate.js
+++ b/src/utils/mydate.js
@@ -1,7 +1,8 @@
+// 澶勭悊鏃堕棿
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