diff --git a/examples/routers/time.vue b/examples/routers/time.vue
index b59dd3c..aa0e421 100644
--- a/examples/routers/time.vue
+++ b/examples/routers/time.vue
@@ -5,6 +5,8 @@
+
+
diff --git a/src/components/time/time.js b/src/components/time/time.js
index 4eee2b0..f212689 100644
--- a/src/components/time/time.js
+++ b/src/components/time/time.js
@@ -30,7 +30,7 @@ const getHandledValue = num => {
* @param {Number} startType 要返回的时间字符串的格式类型,传入'year'则返回年开头的完整时间
*/
const getDate = (timeStamp, startType) => {
- const d = new Date(timeStamp * 1000);
+ const d = new Date(timeStamp);
const year = d.getFullYear();
const month = getHandledValue(d.getMonth() + 1);
const date = getHandledValue(d.getDate());
--
libgit2 0.21.4