체류 정보창 좌표 제거와 웹 폴링 복원
This commit is contained in:
+1
-2
@@ -1097,7 +1097,7 @@ setInterval(() => {
|
|||||||
lastHash = hash;
|
lastHash = hash;
|
||||||
fetchDeviceData(true).then(data => updateDOMWithData(data));
|
fetchDeviceData(true).then(data => updateDOMWithData(data));
|
||||||
});
|
});
|
||||||
}, 3000);
|
}, 1000);
|
||||||
|
|
||||||
function formatNumber(num) {
|
function formatNumber(num) {
|
||||||
if (num == null || isNaN(num)) return '-';
|
if (num == null || isNaN(num)) return '-';
|
||||||
@@ -2021,7 +2021,6 @@ function buildStayInfoContent(stay) {
|
|||||||
<strong>${t.historyStay}</strong>
|
<strong>${t.historyStay}</strong>
|
||||||
<span>총 ${formatDuration(Math.round(stay.duration))}</span>
|
<span>총 ${formatDuration(Math.round(stay.duration))}</span>
|
||||||
${visitRows}
|
${visitRows}
|
||||||
<span>${Number(stay.lat).toFixed(6)}, ${Number(stay.lng).toFixed(6)}</span>
|
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user