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