From 9698cd8b7b1c280d5a533c3a1ddc73771da07ffc Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期三, 13 十二月 2023 20:26:51 +0800 Subject: [PATCH] bug修改 --- 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