liudan 3 tháng trước cách đây
mục cha
commit
59c76d413f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/pages/home/Index.jsx

+ 1 - 1
src/pages/home/Index.jsx

@@ -281,7 +281,7 @@ class Home extends React.Component {
     });
     const playVioce = (audioSrc) => {
       this.setState({
-        audioSrc: '/mp3.wav',
+        audioSrc,
       }, () => {
         const domAudio = document.querySelector('#audio');
         domAudio.playbackRate = 1;