Skip to content

Commit

Permalink
fix(review): song link
Browse files Browse the repository at this point in the history
Signed-off-by: ZTL-UwU <zhangtianli2006@163.com>
  • Loading branch information
ZTL-UwU committed Oct 7, 2024
1 parent be6935a commit 4fd0a16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/MusicPlayerCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function getTime(seconds: number) {
const isError = ref(false);
const { start } = useTimeoutFn(() => {
isError.value = duration.value === 0;
}, 5000);
}, 2000);
onMounted(() => {
volume.value = 0.5;
Expand Down Expand Up @@ -68,7 +68,7 @@ onMounted(() => {
<UiTooltipProvider>
<UiTooltip>
<UiTooltipTrigger as-child>
<a :href="song.link" class="icon-[tabler--link] text-base lg:text-lg cursor-pointer ml-2" />
<NuxtLink :to="`https://y.qq.com/n/ryqq/songDetail/${song.mid}`" target="_blank" class="icon-[tabler--link] text-base lg:text-lg cursor-pointer ml-2" />
</UiTooltipTrigger>
<UiTooltipContent>
<p>跳转到原链接</p>
Expand Down

0 comments on commit 4fd0a16

Please sign in to comment.