feat 手动整理进度显示

This commit is contained in:
jxxghp
2023-08-28 18:06:59 +08:00
parent 563471ccf5
commit 54f3451456
2 changed files with 77 additions and 11 deletions

View File

@@ -134,7 +134,7 @@ async function fetchData(): Promise<Array<Context>> {
}
else {
startLoadingProgress()
const qualify = props.keyword?.startsWith('tmdb:') || props.keyword?.startsWith('douban:')
const qualify = props.keyword?.startsWith('tmdb:') ?? props.keyword?.startsWith('douban:')
// 优先按TMDBID精确查询
if (qualify) {
searchData = await api.get(`search/media/${props.keyword}`, {