fix: 修复播放列表没有写入专辑名称的问题
This commit is contained in:
		
							parent
							
								
									4f0b897b4c
								
							
						
					
					
						commit
						456a0d33ec
					
				| 
						 | 
				
			
			@ -28,6 +28,7 @@ export const usePlayStore = defineStore('player', () => {
 | 
			
		|||
	) => {
 | 
			
		||||
		const newQueue = []
 | 
			
		||||
		for (const item of queue) {
 | 
			
		||||
			console.log(item.song.artists ?? item.song.artistes)
 | 
			
		||||
			newQueue.push({
 | 
			
		||||
				url: item.song.sourceUrl ?? '',
 | 
			
		||||
				metadata: {
 | 
			
		||||
| 
						 | 
				
			
			@ -35,6 +36,7 @@ export const usePlayStore = defineStore('player', () => {
 | 
			
		|||
					artist: artistsOrganize(
 | 
			
		||||
						item.song.artists ?? item.song.artistes ?? [],
 | 
			
		||||
					),
 | 
			
		||||
					album: item.album?.name,
 | 
			
		||||
					artwork: [
 | 
			
		||||
						{
 | 
			
		||||
							src: item.album?.coverUrl ?? '',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user