From be7729728c080dfa0aba2a5ced25a9b5396cfb06 Mon Sep 17 00:00:00 2001
From: 梁灏 <admin@aresn.com>
Date: Tue, 10 Jul 2018 09:06:27 +0800
Subject: [PATCH] update Time

---
 src/components/anchor/anchor-link.vue | 2 +-
 src/components/time/time.js           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/anchor/anchor-link.vue b/src/components/anchor/anchor-link.vue
index 3465603..0e6536d 100644
--- a/src/components/anchor/anchor-link.vue
+++ b/src/components/anchor/anchor-link.vue
@@ -14,7 +14,7 @@ export default {
         scrollOffset: {
             type: Number,
             default () {
-                return this.anchorCom.scrollOffset
+                return this.anchorCom.scrollOffset;
             }
         }
     },
diff --git a/src/components/time/time.js b/src/components/time/time.js
index 867e899..1bf3a07 100644
--- a/src/components/time/time.js
+++ b/src/components/time/time.js
@@ -49,7 +49,7 @@ const getDate = (timeStamp, startType) => {
  */
 export const getRelativeTime = timeStamp => {
     // 判断当前传入的时间戳是秒格式还是毫秒
-    const IS_MILLISECOND = true;
+    // const IS_MILLISECOND = true;
     // 如果是毫秒格式则转为秒格式
     // if (IS_MILLISECOND) Math.floor(timeStamp /= 1000);
     // 传入的时间戳可以是数值或字符串类型,这里统一转为数值类型
--
libgit2 0.21.4