mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-07 20:15:24 +00:00
minor fixes
This commit is contained in:
parent
f47da0ae6e
commit
b1747bd446
@ -19,7 +19,7 @@ const router = createRouter({
|
|||||||
try {
|
try {
|
||||||
item = JSON.parse(<string>route.params.item);
|
item = JSON.parse(<string>route.params.item);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
item = {}; // or any default value you want to set
|
item = {}; // default value
|
||||||
}
|
}
|
||||||
return { item: item, imageUrl: route.params.imageUrl };
|
return { item: item, imageUrl: route.params.imageUrl };
|
||||||
},
|
},
|
||||||
|
@ -24,6 +24,7 @@ onMounted(async () => {
|
|||||||
while (true) {
|
while (true) {
|
||||||
const {value, done} = await reader.read();
|
const {value, done} = await reader.read();
|
||||||
if (done) {
|
if (done) {
|
||||||
|
window.scrollTo(0, 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (item.type === 'TV_ANIME') {
|
if (item.type === 'TV_ANIME') {
|
||||||
@ -44,7 +45,6 @@ onMounted(async () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user