mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 13:48:02 +00:00
feat: updates
This commit is contained in:
parent
9971418b8c
commit
bbcf1f9340
19 changed files with 306 additions and 15 deletions
|
|
@ -244,7 +244,10 @@ export class Player {
|
|||
const prefetchNextTrack = async () => {
|
||||
const prefetchTrackID = this.fmTrackList[1]
|
||||
const track = await this._fetchTrack(prefetchTrackID)
|
||||
if (track?.al.picUrl) axios.get(resizeImage(track.al.picUrl, 'md'))
|
||||
if (track?.al.picUrl) {
|
||||
axios.get(resizeImage(track.al.picUrl, 'md'))
|
||||
axios.get(resizeImage(track.al.picUrl, 'xs'))
|
||||
}
|
||||
}
|
||||
|
||||
if (this.fmTrackList.length === 0) await loadMoreTracks()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue