Browse Source

优化 倒计时计算方式

bzkf3 2 years ago
parent
commit
d5eb241807
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/day.js

+ 1 - 1
src/utils/day.js

@@ -1,5 +1,5 @@
 export function getTimestamp(date) {
-  return ~~((new Date(date)).getTime())
+  return ((new Date(date)).getTime())
 }
 
 export function getCountDownTime(target) {