From 4b0df650a1fe818218e7f8ac0c6ff8f0150371b6 Mon Sep 17 00:00:00 2001 From: “dzb” <2632970487@qq.com> Date: 星期五, 04 十一月 2022 11:26:52 +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