sonar qube

This commit is contained in:
Cindy Chang
2024-07-22 14:14:57 +08:00
parent 3c81356fa2
commit e5b15957cc
8 changed files with 34 additions and 46 deletions

View File

@@ -234,7 +234,6 @@ export function getDateLabelByMinMaxDate(date, maxDate, minDate) {
// 計算相差的小時、分鐘、秒
const diffHours = Math.floor(timeDiff / (60 * 60));
const diffMinutes = Math.floor(timeDiff / 60);
const diffSeconds = Math.floor(timeDiff);
// 顯示結果
if (diffMonths > 1) {