1. var notice = new Audio();
    2. function noticeTrue(){ //播放正确音乐
    3. setTimeout(()=>{
    4. notice.src = require("@/assets/notice/notice_true.mp3");
    5. notice.play();
    6. },0);
    7. }
    8. function noticeFalse(){ //播放错误音乐
    9. setTimeout(()=>{
    10. notice.src = require("@/assets/notice/notice_false.mp3");
    11. notice.play();
    12. },0);
    13. }