diff --git a/src/utils.js b/src/utils.js index 1dca58bb..f0f69767 100644 --- a/src/utils.js +++ b/src/utils.js @@ -64,6 +64,6 @@ export function timeDiff(begin_time, end_time) { //计算分钟数 var remain = remain % 3600 var mins = parseInt(remain / 60) - var res = Number((days + hours / 24).toFixed(1)) + var res = Number(days) return res }