fix: audio player pause

This commit is contained in:
jialin
2024-12-03 20:21:20 +08:00
parent 20f809740c
commit 4c75a5b421
8 changed files with 223 additions and 20 deletions
+1
View File
@@ -75,6 +75,7 @@ const AudioPlayer: React.FC<AudioPlayerProps> = forwardRef((props, ref) => {
}, []);
const handleAudioOnPlay = useCallback(() => {
console.log('audio play');
timer.current = setInterval(() => {
setAudioState((prestate) => {
return {