From 30aa1dcdcd3f16eaaad0d41634390098f26c75a0 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 30 Jun 2022 23:53:58 +0900 Subject: [PATCH] chore(client): tweak rss-marquee --- packages/client/src/widgets/rss-marquee.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/client/src/widgets/rss-marquee.vue b/packages/client/src/widgets/rss-marquee.vue index e23f916d3a..e7516476a1 100644 --- a/packages/client/src/widgets/rss-marquee.vue +++ b/packages/client/src/widgets/rss-marquee.vue @@ -6,7 +6,7 @@
@@ -75,12 +75,14 @@ const { widgetProps, configure } = useWidgetPropsManager(name, const items = ref([]); const fetching = ref(true); +let key = $ref(0); const tick = () => { fetch(`https://api.rss2json.com/v1/api.json?rss_url=${widgetProps.url}`, {}).then(res => { res.json().then(feed => { items.value = feed.items; fetching.value = false; + key++; }); }); };