diff --git a/App.vue b/App.vue index a3909ec..e4cda22 100644 --- a/App.vue +++ b/App.vue @@ -132,7 +132,7 @@ console.log("通知", result) - if (result.extras.type == 'ORDER_CREATE') { + if (result.extras.type == 'ORDER_CREATE' && result.extras.mp3.length>0) { if(result.extras.mp3[0]=='微信') this.audioTeam.push('/static/audio/wechat.MP3') if(result.extras.mp3[0]=='支付宝') this.audioTeam.push('/static/audio/pay.MP3') result.extras.mp3.map(item=>{