This commit is contained in:
Roger Braun 2017-12-05 11:49:40 +01:00
parent 27be1e0fa3
commit 6ad27959a6
1 changed files with 3 additions and 3 deletions

View File

@ -11,11 +11,11 @@ const chat = {
}
},
methods: {
submit(message) {
submit (message) {
this.$store.state.chat.channel.push('new_msg', {text: message}, 10000)
this.currentMessage = '';
this.currentMessage = ''
}
}
}
export default chat;
export default chat