mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-07 08:46:40 +08:00
es lint fix
This commit is contained in:
@@ -1,17 +1,21 @@
|
||||
<script setup lang="ts">
|
||||
import TorrentCardListView from "@/views/discover/TorrentCardListView.vue";
|
||||
import TorrentCardListView from '@/views/discover/TorrentCardListView.vue'
|
||||
|
||||
// 路由参数
|
||||
const route = useRoute();
|
||||
const route = useRoute()
|
||||
|
||||
// 查询TMDBID或标题
|
||||
const keyword = route.query?.keyword?.toString() ?? "";
|
||||
const keyword = route.query?.keyword?.toString() ?? ''
|
||||
|
||||
// 查询类型
|
||||
const type = route.query?.type?.toString() ?? "";
|
||||
const type = route.query?.type?.toString() ?? ''
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<TorrentCardListView :keyword="keyword" :type="type" />
|
||||
<TorrentCardListView
|
||||
:keyword="keyword"
|
||||
:type="type"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user