mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-28 10:57:23 +08:00
fix: 修复下载请求中的音乐 URL 处理逻辑
This commit is contained in:
@@ -38,7 +38,7 @@ export const useDownload = () => {
|
|||||||
songData.ar = songData.ar || songData.song?.artists;
|
songData.ar = songData.ar || songData.song?.artists;
|
||||||
// 发送下载请求
|
// 发送下载请求
|
||||||
window.electron.ipcRenderer.send('download-music', {
|
window.electron.ipcRenderer.send('download-music', {
|
||||||
url: musicUrl,
|
url: typeof musicUrl === 'string' ? musicUrl : musicUrl.url,
|
||||||
filename,
|
filename,
|
||||||
songInfo: {
|
songInfo: {
|
||||||
...songData,
|
...songData,
|
||||||
|
|||||||
Reference in New Issue
Block a user