все добавил но звук не работае как и кнопка мута чата , история платежей тоже говно работет

This commit is contained in:
Madara0330E
2024-03-02 20:11:49 +03:00
parent 439e4b032e
commit 999b8ce31e
12 changed files with 170 additions and 20 deletions

View File

@@ -31,6 +31,9 @@
</ul>
</div>
<writechat-component @send="ClaimDatamsg"></writechat-component>
<div class="chat__mute-button">
<button @click="muteChat">Mute</button>
</div>
</aside>
</template>
@@ -72,6 +75,10 @@ export default {
alert("Вы не можете отправлять сообщения чаще, чем раз в 2 секунды.");
}
},
muteChat() {
// Mute the chat by disabling the event listener for incoming messages.
this.eventBus.$off("dataChat");
},
},
mounted() {
eventBus.on("dataChat", (dataFromServer) => {
@@ -128,4 +135,5 @@ export default {
</script>
<style scoped>
</style>
</style>