diff --git a/pages/realtime.vue b/pages/realtime.vue index df0186591..8b2a15892 100644 --- a/pages/realtime.vue +++ b/pages/realtime.vue @@ -434,7 +434,7 @@ export default { }, updated: function() { this.$nextTick(function() { - var divLog = document.getElementById("log"); + const divLog = document.getElementById("log"); divLog.scrollBy(0, divLog.scrollHeight + 100); }); }