es lint fix

This commit is contained in:
thofx
2023-07-22 16:09:07 +08:00
parent 48749b29fe
commit 018778488a
80 changed files with 3994 additions and 2981 deletions
+9 -5
View File
@@ -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>