mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-18 06:07:48 +00:00
fix: search issues
This commit is contained in:
parent
0ef108df4c
commit
86452f0420
6 changed files with 44 additions and 56 deletions
|
|
@ -22,7 +22,7 @@ export function search(params) {
|
|||
method: "get",
|
||||
params,
|
||||
}).then((data) => {
|
||||
if (data.result.song !== undefined)
|
||||
if (data.result?.song !== undefined)
|
||||
data.result.song.songs = mapTrackPlayableStatus(data.result.song.songs);
|
||||
return data;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue