Skip to content

Commit

Permalink
fix: #142
Browse files Browse the repository at this point in the history
  • Loading branch information
tachibana-shin committed Mar 25, 2024
1 parent 5acf0d8 commit f40fdfc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/phim/_season.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,11 @@ watchEffect(() => {
})
} else {
if (import.meta.env.DEV) console.warn("Redirect to not_found")
if (data.value && __ONLINE__ in data.value)
if (
data.value &&
__ONLINE__ in data.value &&
__ONLINE__ in currentDataSeason.value
)
router.replace({
name: "not_found",
params: {
Expand Down

0 comments on commit f40fdfc

Please sign in to comment.