不每次都响

pull/23/head
陶士涵 4 years ago
parent c9bb4afeb7
commit 5cdfbdc8f9

@ -79,5 +79,5 @@
var KEFU_ID='{{.KEFU_ID}}';
var REFER='{{.Refer}}';
</script>
<script src="/static/js/chat-page.js?v=0.3.4"></script>
<script src="/static/js/chat-page.js?v=0.3.5"></script>
</html>

@ -246,7 +246,9 @@ new Vue({
content.content = replaceContent(content.content);
_this.msgList.push(content);
_this.scrollBottom();
_this.alertSound();
if(i==0){
_this.alertSound();
}
i++;
},4000);
}

Loading…
Cancel
Save