fix: 功能完善。

This commit is contained in:
tianyongbao
2026-01-10 01:42:39 +08:00
parent d4c7f3b324
commit 6b878e49ff
3 changed files with 3 additions and 15 deletions

View File

@@ -404,7 +404,8 @@ const updateChart = () => {
const day = String(date.getDate()).padStart(2, '0');
const hours = String(date.getHours()).padStart(2, '0');
const minutes = String(date.getMinutes()).padStart(2, '0');
return `${month}-${day} ${hours}:${minutes}`;
const seconds = String(date.getSeconds()).padStart(2, '0');
return `${month}-${day} ${hours}:${minutes}:${seconds}`;
});
const yData = historyData.value.map(item => {