summaryrefslogtreecommitdiff
path: root/src/client/components
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-07-15 00:21:14 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-07-15 00:21:14 +0900
commitb6c3399abeab100f0991f5c77bc47919fdcbfaad (patch)
treeb7379815a2d289337c97c1eef67c43378ac2d06f /src/client/components
parentchore: Add note (diff)
downloadsharkey-b6c3399abeab100f0991f5c77bc47919fdcbfaad.tar.gz
sharkey-b6c3399abeab100f0991f5c77bc47919fdcbfaad.tar.bz2
sharkey-b6c3399abeab100f0991f5c77bc47919fdcbfaad.zip
chore: Add note
Diffstat (limited to 'src/client/components')
-rw-r--r--src/client/components/time.vue1
1 files changed, 1 insertions, 0 deletions
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(() => {