From e03c1e5a01115a10088be3b63718fd8a685e3336 Mon Sep 17 00:00:00 2001 From: jmal Date: Sun, 7 Aug 2022 22:40:14 +0800 Subject: [PATCH] =?UTF-8?q?:bug:fix(*):=20=E6=96=87=E4=BB=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=97=B6=E9=97=B4=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/number.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/number.js b/src/utils/number.js index 0ab74ec..b0dae74 100644 --- a/src/utils/number.js +++ b/src/utils/number.js @@ -118,7 +118,7 @@ export function formatTime(agoTime) { } else if (diff <= 3600 * 24 * 30 * 12) { return parseInt(diff / (3600 * 24 * 30)) + '个月前' } else { - return parseInt(diff / (3600 * 24 * 30 * 12)) + '年月前' + return parseInt(diff / (3600 * 24 * 30 * 12)) + '年前' } }