fix(Coupon): timestamp can be string type

This commit is contained in:
chenjiahan 2021-05-10 16:02:37 +08:00
parent 086ba1603b
commit c5b4d1a663

View File

@ -10,7 +10,7 @@ function formatTimeStamp(timeStamp) {
if (timeStamp < 10 ** 12) {
return timeStamp * 1000;
}
return timeStamp;
return +timeStamp;
}
function getDate(timeStamp) {