fix(FM): 播放列表显示过多

feature/artists
mackt 7 months ago
parent 34a5942419
commit 8d75d7d32c

@ -17,12 +17,13 @@ interface Prop {
}
export default function PlayerCard({ show, className }: Prop) {
const { audioId, playList, playState, setPlayList, setPlayQueue } = useAudioStore(
const { audioId, playList, playQueue, playState, setPlayList, setPlayQueue } = useAudioStore(
useShallow((state) => {
return {
playState: state.playState,
audioId: state.audioId,
playList: state.playList,
playQueue: state.playQueue,
setPlayList: state.setPlayList,
setPlayQueue: state.setPlayQueue,
};
@ -123,7 +124,7 @@ export default function PlayerCard({ show, className }: Prop) {
>
<SongCardList
className="w-[712px] mt-11px"
songList={playList}
songList={playQueue}
listInfo={{ type: 'playerCard', id: null }}
/>
</div>

Loading…
Cancel
Save