From b6c3399abeab100f0991f5c77bc47919fdcbfaad Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 15 Jul 2020 00:21:14 +0900 Subject: [PATCH] chore: Add note --- src/client/components/time.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/components/time.vue b/src/client/components/time.vue index 2a871d6d81..e84f0aa25c 100644 --- a/src/client/components/time.vue +++ b/src/client/components/time.vue @@ -61,6 +61,7 @@ export default Vue.extend({ }, methods: { tick() { + // TODO: パフォーマンス向上のため、このコンポーネントが画面内に表示されている場合のみ更新する this.now = new Date(); this.tickId = setTimeout(() => {