From 254cf0d11b6c9ac0fae711fec5e4211f836d41e7 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Wed, 13 Mar 2019 15:28:10 +0800 Subject: [PATCH] =?UTF-8?q?[util=E7=9A=84=E6=97=B6=E9=97=B4=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/util.js b/utils/util.js index 6772948..7547c84 100644 --- a/utils/util.js +++ b/utils/util.js @@ -98,8 +98,9 @@ function timechuo(startTime) { return (month+'月'+day + '天' + hour + "小时" + minute + "分钟") } else if (year) { return (year + '年' + month+'个月'+ day + '天' + hour + "小时" + minute + "分钟") + }else{ + return (hour + "小时" + minute + "分钟") } - }