Commit 7f4b5187 authored by Li Mingzhe's avatar Li Mingzhe

feat: 音频

parent 9bfc3246
......@@ -365,6 +365,8 @@ export class PlayComponent implements OnInit, OnDestroy {
const audio = new Audio();
audio.src = audioUrl;
audio.load();
audio.play();
audio.pause();
this.audioObj[audioUrl] = audio;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment