fix
This commit is contained in:
parent
0bbde336b3
commit
d8f3622e16
@ -50,7 +50,7 @@ const items = ref([]);
|
|||||||
const fetching = ref(true);
|
const fetching = ref(true);
|
||||||
|
|
||||||
const tick = () => {
|
const tick = () => {
|
||||||
fetch(`https://api.rss2json.com/v1/api.json?rss_url=${this.props.url}`, {}).then(res => {
|
fetch(`https://api.rss2json.com/v1/api.json?rss_url=${widgetProps.url}`, {}).then(res => {
|
||||||
res.json().then(feed => {
|
res.json().then(feed => {
|
||||||
items.value = feed.items;
|
items.value = feed.items;
|
||||||
fetching.value = false;
|
fetching.value = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user