1
0
forked from um/web

Bug Fix in Worker Mode

This commit is contained in:
MengYX 2020-04-23 21:23:01 +08:00
parent f64fa71b1e
commit e31eb9c1f1
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604

View File

@ -104,7 +104,6 @@ async function queryAlbumCoverImage(artist, title, album) {
jsonpData = await RequestJsonp(song_query_url, "callback"); jsonpData = await RequestJsonp(song_query_url, "callback");
queriedSong = jsonpData["data"]["song"]["list"][0]; queriedSong = jsonpData["data"]["song"]["list"][0];
} catch (e) { } catch (e) {
console.error(e)
} }
let imgUrl = ""; let imgUrl = "";
if (!!queriedSong && !!queriedSong["album"]) { if (!!queriedSong && !!queriedSong["album"]) {