diff --git a/packages/frontend/src/components/SearchBox.svelte b/packages/frontend/src/components/SearchBox.svelte index e23c47f..52d8a1a 100644 --- a/packages/frontend/src/components/SearchBox.svelte +++ b/packages/frontend/src/components/SearchBox.svelte @@ -16,9 +16,7 @@ const input = event.target as HTMLInputElement; const value: string = input.value.trim(); if (!value) return; - if (value.startsWith("av")) { - window.location.href = `/song/${value}/info`; - } + window.location.href = `/song/${value}/info`; } } diff --git a/packages/frontend/src/pages/song/[id]/info.astro b/packages/frontend/src/pages/song/[id]/info.astro index 20af910..9c0ed0a 100644 --- a/packages/frontend/src/pages/song/[id]/info.astro +++ b/packages/frontend/src/pages/song/[id]/info.astro @@ -137,11 +137,7 @@ interface Snapshot { {videoInfo?.created_at ? format(new Date(videoInfo.created_at), 'yyyy-MM-dd HH:mm:ss', { locale: zhCN }) : '-'} - 状态 - {videoInfo?.status} - - - 封面 URL + 封面 {videoInfo?.cover_url ? videoInfo.cover_url : '-'}