1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-18 10:45:48 +02:00
This commit is contained in:
syuilo
2020-09-05 01:19:37 +09:00
parent acbdd3f423
commit 1a7a07cb1a
3 changed files with 5 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ export default defineComponent({
created() {
this.text = this.$store.state.settings.memo;
this.$watch('$store.state.settings.memo', text => {
this.$watch(() => this.$store.state.settings.memo, text => {
this.text = text;
});
},

View File

@@ -48,7 +48,7 @@ export default defineComponent({
mounted() {
this.fetch();
this.clock = setInterval(this.fetch, 60000);
this.$watch('props.url', this.fetch);
this.$watch(() => this.props.url, this.fetch);
},
beforeDestroy() {
clearInterval(this.clock);