feat:搜索支持指定季

This commit is contained in:
jxxghp
2024-04-10 14:46:36 +08:00
parent f377ac3fcc
commit 77ab0ccae2
3 changed files with 68 additions and 56 deletions

View File

@@ -18,6 +18,9 @@ const type = route.query?.type?.toString() ?? ''
// 搜索字段
const area = route.query?.area?.toString() ?? ''
// 搜索季
const season = route.query?.season?.toString() ?? ''
// 视图类型从localStorage中读取
const viewType = ref<string>(localStorage.getItem('MPTorrentsViewType') ?? 'card')
@@ -86,6 +89,7 @@ async function fetchData() {
params: {
mtype: type,
area,
season,
},
})
if (result.success){