From 8d75d7d32c1099a16b9344ecb963f8afe9509048 Mon Sep 17 00:00:00 2001 From: mackt <1033530438@qq.com> Date: Sun, 28 Apr 2024 10:29:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(FM):=20=E6=92=AD=E6=94=BE=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E8=BF=87=E5=A4=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AudioPlayer/PlayerCard.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/AudioPlayer/PlayerCard.tsx b/src/components/AudioPlayer/PlayerCard.tsx index 01a7639..2080b82 100644 --- a/src/components/AudioPlayer/PlayerCard.tsx +++ b/src/components/AudioPlayer/PlayerCard.tsx @@ -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) { >