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 });