From 94c0ca70e1b6593dd70fb482fae6163e9df31b88 Mon Sep 17 00:00:00 2001 From: imsyy Date: Wed, 27 Nov 2024 14:30:24 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E5=A4=8D=20snap?= =?UTF-8?q?=20=E6=97=A0=E6=B3=95=E6=AD=A3=E5=B8=B8=E5=90=AF=E5=8A=A8=20#29?= =?UTF-8?q?9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron-builder.yml | 2 +- src/views/List/playlist.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/electron-builder.yml b/electron-builder.yml index 208fe78b..0c9833ea 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -84,7 +84,7 @@ dmg: # Linux 平台配置 linux: # 可执行文件名 - executableName: SPlayer + executableName: splayer # 应用程序的图标文件路径 icon: public/icons/favicon-512x512.png # 构建类型 diff --git a/src/views/List/playlist.vue b/src/views/List/playlist.vue index ef9bbb0b..ab2e0ac5 100644 --- a/src/views/List/playlist.vue +++ b/src/views/List/playlist.vue @@ -365,7 +365,7 @@ const handleOnlinePlaylist = async (id: number, getList: boolean, refresh: boole } // 如果已登录且歌曲数量少于 800,直接加载所有歌曲 if (isLogin() === 1 && (playlistDetailData.value?.count as number) < 800) { - const ids: number[] = detail.privileges.map((song: any) => song.id as number); + const ids = detail.privileges.map((song: any) => song.id as number); const result = await songDetail(ids); playlistData.value = formatSongsList(result.songs); } else {