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 {