From 468bde3c7d2dd20420ea52f356e903aa6a5d0ddc Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Fri, 18 May 2018 13:54:32 +0800 Subject: [PATCH] update --- src/components/time/time.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/time/time.js b/src/components/time/time.js index 63a66a3..1e32a6d 100644 --- a/src/components/time/time.js +++ b/src/components/time/time.js @@ -55,7 +55,7 @@ const time = { const currentDate = date.getDate() < 10 ? '0' + date.getDate() : date.getDate(); const hh = date.getHours() < 10 ? '0' + date.getHours() : date.getHours(); const mm = date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes(); - const ss = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds(); + // const ss = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds(); if (type === 'month') { return month + '-' + currentDate + ' ' + hh + ':' + mm; -- libgit2 0.21.4