From 5f1bcdc423c255e6c330ee928251a859f4428db9 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 9 Aug 2020 11:12:11 +0900 Subject: [PATCH] wip --- src/client/widgets/digital-clock.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/digital-clock.vue b/src/client/widgets/digital-clock.vue index 744ede3e3a..207d660725 100644 --- a/src/client/widgets/digital-clock.vue +++ b/src/client/widgets/digital-clock.vue @@ -49,7 +49,7 @@ export default defineComponent({ }, created() { this.tick(); - this.$watch('props.showMs', () => { + this.$watch(() => this.props.showMs, () => { if (this.clock) clearInterval(this.clock); this.clock = setInterval(this.tick, this.props.showMs ? 10 : 1000); }, { immediate: true });