diff --git a/src/directives/time.js b/src/directives/time.js index 7f1c3e13..ed9b6b9f 100644 --- a/src/directives/time.js +++ b/src/directives/time.js @@ -61,7 +61,10 @@ var Time = { export default { mounted(el, binding) { - const { value, modifiers} = binding + let { value, modifiers} = binding + if(value.toString().length == 10){ + value = value * 1000 + } if (modifiers.tip) { el.innerHTML = Time.getFormateTime(value) el.__timeout__ = setInterval(() => {