From 63e6c7f72a99501193fc3586953fd56723c73350 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 e23f916d3..e7516476a 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++; }); }); };